Skip to content

Commit 047aaad

Browse files
committed
Fix some codespell complaints.
1 parent bf14c29 commit 047aaad

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

.github/workflows/build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ jobs:
2222
commit_id: master
2323
############################## Comma separated list - like 'linuxmint/xapp, linuxmint/cinnamon-desktop'
2424
dependencies: linuxmint/xapp, linuxmint/cinnamon-desktop, linuxmint/cinnamon-translations
25+
codespell_ignore_words_list: nd
26+
codespell_ignore_files_list:
2527
##############################
2628

eel/eel-accessibility.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ get_simple_text (gpointer object)
234234

235235
aif = EEL_ACCESSIBLE_TEXT_GET_IFACE (gobject);
236236
if (!aif) {
237-
g_warning ("No accessible text inferface on '%s'",
237+
g_warning ("No accessible text interface on '%s'",
238238
g_type_name_from_instance ((gpointer) gobject));
239239

240240
} else if (aif->get_text) {

eel/eel-canvas.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -2769,7 +2769,7 @@ emit_event (EelCanvas *canvas, GdkEvent *event)
27692769
return FALSE;
27702770
}
27712771

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

@@ -3537,7 +3537,7 @@ eel_canvas_set_pixels_per_unit (EelCanvas *canvas, double n)
35373537
*
35383538
* TODO: We would like to temporarily set the bin_window background to
35393539
* None to avoid clearing the bin_window to the background, but gdk doesn't
3540-
* expose enought to let us do this, so we get a flash-effect here. At least
3540+
* expose enough to let us do this, so we get a flash-effect here. At least
35413541
* it looks better than scroll + expose.
35423542
*/
35433543
if (window != NULL) {
@@ -3558,7 +3558,7 @@ eel_canvas_set_pixels_per_unit (EelCanvas *canvas, double n)
35583558
* Makes a canvas scroll to the specified offsets, given in canvas pixel units.
35593559
* The canvas will adjust the view so that it is not outside the scrolling
35603560
* region. This function is typically not used, as it is better to hook
3561-
* scrollbars to the canvas layout's scrolling adjusments.
3561+
* scrollbars to the canvas layout's scrolling adjustments.
35623562
**/
35633563
void
35643564
eel_canvas_scroll_to (EelCanvas *canvas, int cx, int cy)
@@ -3713,7 +3713,7 @@ eel_canvas_w2c (EelCanvas *canvas, double wx, double wy, int *cx, int *cy)
37133713
* eel_canvas_w2c:
37143714
* @canvas: A canvas.
37153715
* @world: rectangle in world coordinates.
3716-
* @canvas: rectangle in canvase coordinates.
3716+
* @canvas: rectangle in canvas coordinates.
37173717
*
37183718
* Converts rectangles in world coordinates into canvas pixel coordinates.
37193719
**/

eel/eel-canvas.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ struct _EelCanvasItemClass {
171171
*/
172172
void (* bounds) (EelCanvasItem *item, double *x1, double *y1, double *x2, double *y2);
173173

174-
/* Signal: an event ocurred for an item of this type. The (x, y)
174+
/* Signal: an event occurred for an item of this type. The (x, y)
175175
* coordinates are in the canvas world coordinate system.
176176
*/
177177
gboolean (* event) (EelCanvasItem *item, GdkEvent *event);

gresources/nemo-file-management-properties.glade

+1-1
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ along with . If not, see <http://www.gnu.org/licenses/>.
14461446
<property name="spacing">6</property>
14471447
<child>
14481448
<object class="GtkCheckButton" id="media_automount_checkbutton">
1449-
<property name="label" translatable="yes">Automatically mount removeable media when inserted and on startup</property>
1449+
<property name="label" translatable="yes">Automatically mount removable media when inserted and on startup</property>
14501450
<property name="visible">True</property>
14511451
<property name="can-focus">True</property>
14521452
<property name="receives-default">False</property>

libnemo-private/nemo-file-operations.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ get_link_name (const char *name, int count, int max_length)
409409
*/
410410
switch (count % 10) {
411411
case 1:
412-
/* Localizers: Feel free to leave out the "st" suffix
412+
/* Localizers: Feel free to leave out the "st" suffix codespell:ignore
413413
* if there's no way to do that nicely for a
414414
* particular language.
415415
*/
@@ -459,7 +459,7 @@ get_link_name (const char *name, int count, int max_length)
459459

460460

461461
/* Localizers:
462-
* Feel free to leave out the st, nd, rd and th suffix or
462+
* Feel free to leave out the st, nd, rd and th suffix or codespell:ignore
463463
* make some or all of them match.
464464
*/
465465

0 commit comments

Comments
 (0)