Skip to content

Commit

Permalink
Fix some codespell complaints.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtwebster committed Aug 7, 2024
1 parent bf14c29 commit 047aaad
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ jobs:
commit_id: master
############################## Comma separated list - like 'linuxmint/xapp, linuxmint/cinnamon-desktop'
dependencies: linuxmint/xapp, linuxmint/cinnamon-desktop, linuxmint/cinnamon-translations
codespell_ignore_words_list: nd
codespell_ignore_files_list:
##############################

2 changes: 1 addition & 1 deletion eel/eel-accessibility.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ get_simple_text (gpointer object)

aif = EEL_ACCESSIBLE_TEXT_GET_IFACE (gobject);
if (!aif) {
g_warning ("No accessible text inferface on '%s'",
g_warning ("No accessible text interface on '%s'",
g_type_name_from_instance ((gpointer) gobject));

} else if (aif->get_text) {
Expand Down
8 changes: 4 additions & 4 deletions eel/eel-canvas.c
Original file line number Diff line number Diff line change
Expand Up @@ -2769,7 +2769,7 @@ emit_event (EelCanvas *canvas, GdkEvent *event)
return FALSE;
}

/* Convert to world coordinates -- we have two cases because of diferent
/* Convert to world coordinates -- we have two cases because of different
* offsets of the fields in the event structures.
*/

Expand Down Expand Up @@ -3537,7 +3537,7 @@ eel_canvas_set_pixels_per_unit (EelCanvas *canvas, double n)
*
* TODO: We would like to temporarily set the bin_window background to
* None to avoid clearing the bin_window to the background, but gdk doesn't
* expose enought to let us do this, so we get a flash-effect here. At least
* expose enough to let us do this, so we get a flash-effect here. At least
* it looks better than scroll + expose.
*/
if (window != NULL) {
Expand All @@ -3558,7 +3558,7 @@ eel_canvas_set_pixels_per_unit (EelCanvas *canvas, double n)
* Makes a canvas scroll to the specified offsets, given in canvas pixel units.
* The canvas will adjust the view so that it is not outside the scrolling
* region. This function is typically not used, as it is better to hook
* scrollbars to the canvas layout's scrolling adjusments.
* scrollbars to the canvas layout's scrolling adjustments.
**/
void
eel_canvas_scroll_to (EelCanvas *canvas, int cx, int cy)
Expand Down Expand Up @@ -3713,7 +3713,7 @@ eel_canvas_w2c (EelCanvas *canvas, double wx, double wy, int *cx, int *cy)
* eel_canvas_w2c:
* @canvas: A canvas.
* @world: rectangle in world coordinates.
* @canvas: rectangle in canvase coordinates.
* @canvas: rectangle in canvas coordinates.
*
* Converts rectangles in world coordinates into canvas pixel coordinates.
**/
Expand Down
2 changes: 1 addition & 1 deletion eel/eel-canvas.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ struct _EelCanvasItemClass {
*/
void (* bounds) (EelCanvasItem *item, double *x1, double *y1, double *x2, double *y2);

/* Signal: an event ocurred for an item of this type. The (x, y)
/* Signal: an event occurred for an item of this type. The (x, y)
* coordinates are in the canvas world coordinate system.
*/
gboolean (* event) (EelCanvasItem *item, GdkEvent *event);
Expand Down
2 changes: 1 addition & 1 deletion gresources/nemo-file-management-properties.glade
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ along with . If not, see <http://www.gnu.org/licenses/>.
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="media_automount_checkbutton">
<property name="label" translatable="yes">Automatically mount removeable media when inserted and on startup</property>
<property name="label" translatable="yes">Automatically mount removable media when inserted and on startup</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">False</property>
Expand Down
4 changes: 2 additions & 2 deletions libnemo-private/nemo-file-operations.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ get_link_name (const char *name, int count, int max_length)
*/
switch (count % 10) {
case 1:
/* Localizers: Feel free to leave out the "st" suffix
/* Localizers: Feel free to leave out the "st" suffix codespell:ignore
* if there's no way to do that nicely for a
* particular language.
*/
Expand Down Expand Up @@ -459,7 +459,7 @@ get_link_name (const char *name, int count, int max_length)


/* Localizers:
* Feel free to leave out the st, nd, rd and th suffix or
* Feel free to leave out the st, nd, rd and th suffix or codespell:ignore
* make some or all of them match.
*/

Expand Down

0 comments on commit 047aaad

Please sign in to comment.