Global: fixes British spellings and typos found by AI

This commit is contained in:
Carter Li
2026-08-31 13:44:19 +08:00
parent a33d6326f1
commit d5214af189
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -3314,7 +3314,7 @@ Features:
* Enhance `--percent-type` to allow hiding other texts (#387) * Enhance `--percent-type` to allow hiding other texts (#387)
* Add Wifi module support for Linux * Add Wifi module support for Linux
* Detect scaled resolutions (Windows, macOS) * Detect scaled resolutions (Windows, macOS)
* Optimise font module printing (Windows) * Optimize font module printing (Windows)
* Detect pacman package count inside MSYS2 environment (Windows) * Detect pacman package count inside MSYS2 environment (Windows)
* Add Wifi / Battery module support for Android * Add Wifi / Battery module support for Android
* Disk name support for Linux * Disk name support for Linux
+1 -1
View File
@@ -12,7 +12,7 @@
}, },
"modules": [ "modules": [
{ {
// draw borders first to make colors of left and right border consistant // draw borders first to make colors of left and right border consistent
"key": " user", "key": " user",
"type": "title", "type": "title",
"format": "{user-name}", "format": "{user-name}",
+1 -1
View File
@@ -996,7 +996,7 @@ bool ffGenConfigInteractive(FFdata* data) {
success = true; success = true;
} }
} else { } else {
fputs("\nConfig generation cancelled.\n", stderr); fputs("\nConfig generation canceled.\n", stderr);
} }
ffListDestroy(&ui.items); ffListDestroy(&ui.items);
+2 -2
View File
@@ -507,8 +507,8 @@ typedef struct E_Config {
Eina_List* font_defaults; Eina_List* font_defaults;
} E_Config; // Must be the same name as the top level struct in e.cfg } E_Config; // Must be the same name as the top level struct in e.cfg
#define FF_EET_EINA_FILE_DATA_DESCRIPTOR_CLASS_SET(clas, type) \ #define FF_EET_EINA_FILE_DATA_DESCRIPTOR_CLASS_SET(klass, type) \
(ffeet_eina_file_data_descriptor_class_set(clas, sizeof(*(clas)), #type, sizeof(type))) (ffeet_eina_file_data_descriptor_class_set(klass, sizeof(*(klass)), #type, sizeof(type)))
#define FF_EET_DATA_DESCRIPTOR_ADD_BASIC(edd, struct_type, member, type) \ #define FF_EET_DATA_DESCRIPTOR_ADD_BASIC(edd, struct_type, member, type) \
do { \ do { \
struct_type ___ett; \ struct_type ___ett; \
+1 -1
View File
@@ -331,7 +331,7 @@ static bool xcbRandrHandleMonitors(XcbRandrData* data, xcb_screen_t* screen) {
} }
static void xcbRandrHandleScreen(XcbRandrData* data, xcb_screen_t* screen) { static void xcbRandrHandleScreen(XcbRandrData* data, xcb_screen_t* screen) {
// With all the initialisation done, start the detection // With all the initialization done, start the detection
if (xcbRandrHandleMonitors(data, screen)) { if (xcbRandrHandleMonitors(data, screen)) {
return; return;
} }
+1 -1
View File
@@ -111,7 +111,7 @@ static void detectGTKFromSettings(FFGTKResult* result) {
} else { } else {
// Standalone WMs (Hyprland, sway, niri, i3, ...) report no DE and have no settings // Standalone WMs (Hyprland, sway, niri, i3, ...) report no DE and have no settings
// daemon, but GTK apps on them still read org.gnome.desktop.interface. // daemon, but GTK apps on them still read org.gnome.desktop.interface.
// Read via DConf, not GSettings: GSettings synthesises the schema default for keys // Read via DConf, not GSettings: GSettings synthesizes the schema default for keys
// the user never set, DConf returns nothing. Runs last; applyGTKSettings() only // the user never set, DConf returns nothing. Runs last; applyGTKSettings() only
// fills still-empty fields, so config files always win. // fills still-empty fields, so config files always win.
themeName = ffSettingsGetDConf("/org/gnome/desktop/interface/gtk-theme", FF_VARIANT_TYPE_STRING).strValue; themeName = ffSettingsGetDConf("/org/gnome/desktop/interface/gtk-theme", FF_VARIANT_TYPE_STRING).strValue;
+1 -1
View File
@@ -910,7 +910,7 @@ int main(int argc, char** argv) {
ffStrbufSetS(&data.structure, FASTFETCH_DATATEXT_STRUCTURE); // Cannot use `ffStrbufSetStatic` here because we will modify the string ffStrbufSetS(&data.structure, FASTFETCH_DATATEXT_STRUCTURE); // Cannot use `ffStrbufSetStatic` here because we will modify the string
} }
if (data.genConfigInteractive && !ffGenConfigInteractive(&data)) { if (data.genConfigInteractive && !ffGenConfigInteractive(&data)) {
// User cancelled the interactive config generation // User canceled the interactive config generation
ffStrbufDestroy(&data.structure); ffStrbufDestroy(&data.structure);
ffStrbufDestroy(&data.structureDisabled); ffStrbufDestroy(&data.structureDisabled);
yyjson_doc_free(data.configDoc); yyjson_doc_free(data.configDoc);