Commit 2077c722 authored by Jens Georg's avatar Jens Georg

Fix several typos in comments

As noted by Richard Kreckel
parent f2c2beec
Pipeline #68389 passed with stage
in 36 minutes and 13 seconds
......@@ -996,7 +996,7 @@ public class LibraryMonitor : DirectoryMonitor {
}
if (!known) {
// ressurrect tombstone if deleted
// ressurect tombstone if deleted
Tombstone? tombstone = Tombstone.global.locate(file);
if (tombstone != null) {
debug("Resurrecting tombstoned file %s", file.get_path());
......
......@@ -832,7 +832,7 @@ public abstract class Photo : PhotoSource, Dateable, Positionable {
if (!developments.has_key(d))
return; // we tried!
// Disgard changes.
// Discard changes.
revert_to_master(false);
// Switch master to the new photo.
......
......@@ -1194,7 +1194,7 @@ public class SearchFilterToolbar : Gtk.Revealer {
bool has_flagged) {
if (has_photos || has_raw)
// As a user, I would expect, that a raw photo is still a photo.
// Let's enable the photo button even if there ar only raw photos.
// Let's enable the photo button even if there are only raw photos.
toolbtn_photos.set_icon_name("filter-photos-symbolic");
else
toolbtn_photos.set_icon_name("filter-photos-disabled-symbolic");
......
......@@ -62,7 +62,7 @@ private interface UpgradeTask : Object{
// Deletes the mimics folder, if it still exists.
// Note: for the step count to be consistent, files cannot be written
// to the mimcs folder for the duration of this task.
// to the mimics folder for the duration of this task.
private class MimicsRemovalTask : Object, UpgradeTask {
// Mimics folder (to be deleted, if present)
private File mimic_dir = AppDirs.get_data_dir().get_child("mimics");
......
......@@ -559,7 +559,7 @@ public class DataCollection {
if (!properties.unset(name))
return;
// only notify if the propery was unset (that is, was set to begin with)
// only notify if the property was unset (that is, was set to begin with)
notify_property_cleared(name);
// notify all items
......
......@@ -285,7 +285,7 @@ public class DataImportsDialog : Gtk.Dialog {
}
}
// Intall the central area in all cases
// Install the central area in all cases
central_area_layouter = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
((Gtk.Box) get_content_area()).pack_start(central_area_layouter, true, true, 0);
......
......@@ -788,7 +788,7 @@ public class FacesTool : EditingTools.EditingTool {
private void delete_face(string face_name) {
face_shapes.unset(face_name);
// It is posible to have two visible faces at the same time, this happens
// It is possible to have two visible faces at the same time, this happens
// if you are editing one face and you move the pointer around the
// FaceWidgets area in FacesToolWindow. And you can delete one of that
// faces, so the other visible face must be repainted.
......
......@@ -144,7 +144,7 @@ public class LibraryWindow : AppWindow {
private Gtk.ProgressBar background_progress_bar = new Gtk.ProgressBar();
private bool background_progress_displayed = false;
// Instantiate later in constructor becase the map support loads its icons in there and we need
// Instantiate later in constructor because the map support loads its icons in there and we need
// to have the global app instance available for that
private BasicProperties basic_properties;
private ExtendedProperties extended_properties = new ExtendedProperties();
......@@ -292,7 +292,7 @@ public class LibraryWindow : AppWindow {
{ "CommonFind", on_find },
{ "CommonNewSearch", on_new_search },
// Toogle actions
// Toggle actions
{ "CommonDisplayBasicProperties", on_action_toggle, null, "false", on_display_basic_properties },
{ "CommonDisplayExtendedProperties", on_action_toggle, null, "false", on_display_extended_properties },
......
......@@ -6,7 +6,7 @@
// Return the directory in which Shotwell is installed, or null if uninstalled.
File? get_sys_install_dir(File exec_dir) {
// Assume that if the ui folder lives next to the binary, we runn in-tree
// Assume that if the ui folder lives next to the binary, we run in-tree
File child = exec_dir.get_child("ui");
if (!FileUtils.test(child.get_path(), FileTest.IS_DIR | FileTest.EXISTS)) {
......
......@@ -60,7 +60,7 @@ public Gdk.Rectangle get_adjustment_page(Gtk.Adjustment hadj, Gtk.Adjustment vad
}
// Verifies that only the mask bits are set in the modifier field, disregarding mouse and
// key modifers that are not normally of concern (i.e. Num Lock, Caps Lock, etc.). Mask can be
// key modifiers that are not normally of concern (i.e. Num Lock, Caps Lock, etc.). Mask can be
// one or more bits set, but should only consist of these values:
// * Gdk.ModifierType.SHIFT_MASK
// * Gdk.ModifierType.CONTROL_MASK
......
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