[gnome-builder] Fix typo (whitepsace -> whitespace)



commit 1f115ee34219fe003612ee7d2c06b2daa3b990da
Author: Anders Jonsson <anders jonsson norsjovallen se>
Date:   Wed Aug 24 19:40:11 2022 +0200

    Fix typo (whitepsace -> whitespace)

 src/libide/gui/tests/test-preferences.c               | 2 +-
 src/plugins/editorui/gbp-editorui-preferences-addin.c | 2 +-
 src/plugins/editorui/tweaks-language.ui               | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/gui/tests/test-preferences.c b/src/libide/gui/tests/test-preferences.c
index 0b362f038..1a8c61b34 100644
--- a/src/libide/gui/tests/test-preferences.c
+++ b/src/libide/gui/tests/test-preferences.c
@@ -65,7 +65,7 @@ static const IdePreferenceItemEntry items[] = {
 };
 
 static const IdePreferenceItemEntry lang_items[] = {
-  { "languages/*", "general", "trim", 0, toggle_cb, "Trim Trailing Whitespace", "Upon saving, trailing 
whitepsace from modified lines will be trimmed." },
+  { "languages/*", "general", "trim", 0, toggle_cb, "Trim Trailing Whitespace", "Upon saving, trailing 
whitespace from modified lines will be trimmed." },
   { "languages/*", "general", "overwrite", 0, toggle_cb, "Overwrite Braces", "Overwrite closing braces" },
   { "languages/*", "general", "insert-matching", 0, toggle_cb, "Insert Matching Brace", "Insert matching 
character for [[(\"'" },
   { "languages/*", "general", "insert-trailing", 0, toggle_cb, "Insert Trailing Newline", "Ensure files end 
with a newline" },
diff --git a/src/plugins/editorui/gbp-editorui-preferences-addin.c 
b/src/plugins/editorui/gbp-editorui-preferences-addin.c
index 57305cd91..c2ac85b7c 100644
--- a/src/plugins/editorui/gbp-editorui-preferences-addin.c
+++ b/src/plugins/editorui/gbp-editorui-preferences-addin.c
@@ -120,7 +120,7 @@ static const IdePreferenceItemEntry items[] = {
 static const IdePreferenceItemEntry lang_items[] = {
   { "languages/*", "general", "trim", 0, ide_preferences_window_toggle,
     N_("Trim Trailing Whitespace"),
-    N_("Upon saving, trailing whitepsace from modified lines will be trimmed"),
+    N_("Upon saving, trailing whitespace from modified lines will be trimmed"),
     "org.gnome.builder.editor.language", LANG_PATH, "trim-trailing-whitespace" },
 
   { "languages/*", "general", "overwrite", 0, ide_preferences_window_toggle,
diff --git a/src/plugins/editorui/tweaks-language.ui b/src/plugins/editorui/tweaks-language.ui
index 393c47bba..24e9ed499 100644
--- a/src/plugins/editorui/tweaks-language.ui
+++ b/src/plugins/editorui/tweaks-language.ui
@@ -82,7 +82,7 @@
                             <child>
                               <object class="IdeTweaksSwitch" id="trim_whitespace">
                                 <property name="title" translatable="yes">Trim Trailing Space</property>
-                                <property name="subtitle" translatable="yes">Upon saving, trailing 
whitepsace from modified lines will be trimmed</property>
+                                <property name="subtitle" translatable="yes">Upon saving, trailing 
whitespace from modified lines will be trimmed</property>
                                 <property 
name="action-name">settings.org.gnome.builder.editor.language.trim-trailing-whitespace</property>
                               </object>
                             </child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]