File: 19_fix-spelling-errors.patch

package info (click to toggle)
xfe 2.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 20,952 kB
  • sloc: cpp: 71,957; sh: 9,879; ansic: 6,968; makefile: 345; sed: 16
file content (133 lines) | stat: -rw-r--r-- 6,335 bytes parent folder | download
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
Package:     xfe
Subject:     fix spelling errors in comments
Author:      Joachim Wiedorn <joodebian at joonet.de>
Forwarded:   no
Last-Update: 2025-03-15
---

diff -urN s18/src/BrowseInputDialog.cpp s19/src/BrowseInputDialog.cpp
--- s18/src/BrowseInputDialog.cpp	2025-01-24 09:43:26.000000000 +0100
+++ s19/src/BrowseInputDialog.cpp	2025-03-16 00:38:26.522398589 +0100
@@ -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-01-25 11:14:13.000000000 +0100
+++ s19/src/DirPanel.cpp	2025-03-16 00:38:47.626526377 +0100
@@ -2483,7 +2483,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-03-16 00:10:54.220411033 +0100
+++ s19/src/FilePanel.cpp	2025-03-16 01:40:34.508589681 +0100
@@ -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-03-15 11:46:57.000000000 +0100
+++ s19/src/foxhacks.cpp	2025-03-16 00:39:55.298936143 +0100
@@ -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-01-23 16:45:42.000000000 +0100
+++ s19/src/help.h	2025-03-16 00:41:17.843436025 +0100
@@ -229,7 +229,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 \
@@ -251,7 +251,7 @@
   =-=-=-=\n \
 \n \
  Starting with version 2.0, the folder panel features two tabs: one is the classic Tree view and the other is a Places view.\n \
- This Places view allows to view desktop folders (home, downloads, documents, music, ...), of drive mounts, network shares\n \
+ This Places view allows one to view desktop folders (home, downloads, documents, music, ...), of drive mounts, network shares\n \
  and user's bookmarks.\n \
 \n \
  Network shares mounted from the desktop using gvfs (GNOME or XFCE) appear in the Places view\n \
@@ -346,7 +346,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-01-24 17:37:57.000000000 +0100
+++ s19/src/PathLinker.cpp	2025-03-16 00:42:42.159947462 +0100
@@ -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-01-24 09:44:02.000000000 +0100
+++ s19/src/xfeutils.cpp	2025-03-16 00:42:58.468046382 +0100
@@ -1468,7 +1468,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)
@@ -1557,7 +1557,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);