1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
|
Package: xfe
Subject: fix spelling errors in comments
Author: Joachim Wiedorn <joodebian at joonet.de>
Forwarded: no
Last-Update: 2025-03-15
Fix some spelling errors (lintian warnings).
---
diff -urN s18/src/BrowseInputDialog.cpp s19/src/BrowseInputDialog.cpp
--- s18/src/BrowseInputDialog.cpp 2025-05-14 14:11:24.000000000 +0200
+++ s19/src/BrowseInputDialog.cpp 2025-05-22 22:26:27.931160507 +0200
@@ -59,7 +59,7 @@
FXVerticalFrame* contents = new FXVerticalFrame(this, LAYOUT_SIDE_TOP | FRAME_NONE | LAYOUT_FILL_X | LAYOUT_FILL_Y);
// Icon and text label
- // Note : we display the message in a TextLabel. This allows to copy/paste the file name to the input text field
+ // Note : we display the message in a TextLabel. This allows one to copy/paste the file name to the input text field
FXMatrix* matrix1 = new FXMatrix(contents, 2, MATRIX_BY_COLUMNS | LAYOUT_SIDE_TOP | LAYOUT_FILL_X | LAYOUT_FILL_Y);
iconlabel = new FXLabel(matrix1, "", ic, LAYOUT_LEFT | LAYOUT_CENTER_Y | LAYOUT_FILL_ROW);
msg = new TextLabel(matrix1, 30, 0, 0, LAYOUT_LEFT | LAYOUT_CENTER_Y | LAYOUT_FILL_ROW | FRAME_NONE);
diff -urN s18/src/DirPanel.cpp s19/src/DirPanel.cpp
--- s18/src/DirPanel.cpp 2025-05-14 14:52:58.000000000 +0200
+++ s19/src/DirPanel.cpp 2025-05-22 22:26:27.935160494 +0200
@@ -2535,7 +2535,7 @@
}
-// Set the flag that allows to stop the file list refresh
+// Set the flag that allows one to stop the file list refresh
long DirPanel::onCmdStopListRefreshTimer(FXObject*, FXSelector, void*)
{
stopListRefresh = true;
diff -urN s18/src/FilePanel.cpp s19/src/FilePanel.cpp
--- s18/src/FilePanel.cpp 2025-05-22 17:53:24.251776923 +0200
+++ s19/src/FilePanel.cpp 2025-05-22 22:26:27.935160494 +0200
@@ -1673,7 +1673,7 @@
}
-// Set the flag that allows to stop the file list refresh
+// Set the flag that allows one to stop the file list refresh
long FilePanel::onCmdStopListRefreshTimer(FXObject*, FXSelector, void*)
{
stopListRefresh = true;
diff -urN s18/src/foxhacks.cpp s19/src/foxhacks.cpp
--- s18/src/foxhacks.cpp 2025-05-14 14:11:24.000000000 +0200
+++ s19/src/foxhacks.cpp 2025-05-22 22:26:27.935160494 +0200
@@ -1067,7 +1067,7 @@
}
-// This hack allows to ignore caps lock when using Ctrl-A, Ctrl-C, Ctrl-V and Ctrl-X shortcuts
+// This hack allows one to ignore caps lock when using Ctrl-A, Ctrl-C, Ctrl-V and Ctrl-X shortcuts
// Pressed a key
long FXTextField::onKeyPress(FXObject*, FXSelector, void* ptr)
@@ -2932,7 +2932,7 @@
// Hack of FXScrollArea
//
-// This hack allows to scroll in horizontal mode when we are in row and small/big icons mode of a FileList
+// This hack allows one to scroll in horizontal mode when we are in row and small/big icons mode of a FileList
// Mouse wheel used for vertical scrolling
long FXScrollArea::onVMouseWheel(FXObject* sender, FXSelector sel, void* ptr)
@@ -3333,7 +3333,7 @@
// Hack of FXAccelTable
//
-// This hack allows to ignore caps lock when using keyboard shortcuts
+// This hack allows one to ignore caps lock when using keyboard shortcuts
#define EMPTYSLOT 0xfffffffe // Previously used, now empty slot
#define UNUSEDSLOT 0xffffffff // Unsused slot marker
diff -urN s18/src/help.h s19/src/help.h
--- s18/src/help.h 2025-05-15 10:14:34.000000000 +0200
+++ s19/src/help.h 2025-05-22 22:27:52.850829580 +0200
@@ -233,7 +233,7 @@
\n \
At the very first Xfe run, the system-wide configuration file is copied into the local configuration file\n \
~/.config/xfe/xferc which does not exists yet. If the system-wide configuration file is not found\n \
- (in case of an unusal install place), a dialog asks the user to select the right place. It is thus easier to\n \
+ (in case of an unusual install place), a dialog asks the user to select the right place. It is thus easier to\n \
customize Xfe (this is particularly true for the file associations) by hand editing because all the local options\n \
are located in the same file.\n \
\n \
@@ -264,7 +264,7 @@
=-=-=-=\n \
\n \
Starting with version 2.0, the folder panel features two tabs: one is the classic Tree view and the other\n \
- is a Places view. This Places view allows to view desktop folders (home, downloads, documents, music, ...), of\n \
+ is a Places view. This Places view allows one to view desktop folders (home, downloads, documents, music, ...), of\n \
drive mounts, network shares and user's bookmarks.\n \
\n \
Network shares mounted from the desktop using gvfs (GNOME or XFCE) appear in the Places view and can be unmounted\n \
@@ -366,7 +366,7 @@
Automounting\n \
=-=-=-=-=-=-=\n \
\n \
- Starting with version 2.1, Xfe has an integrated automounter program that allows to mount removable disks or media\n \
+ Starting with version 2.1, Xfe has an integrated automounter program that allows one to mount removable disks or media\n \
when they are inserted. The automounter also supports MTP devices (ex: Android phones or tablets).\n \
\n \
The automounter is optional and should only be used if your system does not already provides that feature. By\n \
@@ -406,7 +406,7 @@
- Select files and right click to open a context menu on the selected files\n \
- Press Ctrl + right click to open a context menu on the file panel\n \
- When dragging a file/folder to a folder, hold on the mouse on the folder to open it\n \
- - Displayed colums and column order can be selected in the Preferences / File List dialog\n \
+ - Displayed columns and column order can be selected in the Preferences / File List dialog\n \
\n \
Tree list\n \
- Select a folder and right click to open a context menu on the selected folder\n \
diff -urN s18/src/PathLinker.cpp s19/src/PathLinker.cpp
--- s18/src/PathLinker.cpp 2025-05-14 14:11:24.000000000 +0200
+++ s19/src/PathLinker.cpp 2025-05-22 22:26:27.935160494 +0200
@@ -1,4 +1,4 @@
-// Implementation of a path linker that allows to directly go to any parent directory
+// Implementation of a path linker that allows one to directly go to any parent directory
// Initially proposed and coded by Julian Mitchell <jupeos@gmail.com>
#include <sstream>
diff -urN s18/src/xfeutils.cpp s19/src/xfeutils.cpp
--- s18/src/xfeutils.cpp 2025-05-15 18:02:09.000000000 +0200
+++ s19/src/xfeutils.cpp 2025-05-22 22:26:27.935160494 +0200
@@ -1555,7 +1555,7 @@
}
-// Check if the file or the link refered file is readable AND executable
+// Check if the file or the link referred file is readable AND executable
// Function used to test if we can enter a directory
// Uses the access() system function
FXbool xf_isreadexecutable(const FXString& file)
@@ -1644,7 +1644,7 @@
}
-// Get file info (file or link refered file)
+// Get file info (file or link referred file)
FXbool xf_info(const FXString& file, struct stat& inf)
{
return !file.empty() && (xf_stat(file.text(), &inf) == 0);
|