Merge pull request #208 from mariogrip/fix-spelling-mistakes

Fix spelling mistakes caught by debian lintian
This commit is contained in:
Jakob P. Liljenberg 2021-12-29 14:20:49 +01:00 committed by GitHub
commit c5fd59f09f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View file

@ -507,8 +507,8 @@ truecolor = True
force_tty = False force_tty = False
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. #* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positons, G=graph symbol to use for box. #* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
#* Use withespace " " as seprator between different presets. #* Use withespace " " as separator between different presets.
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" #* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"

View file

@ -50,8 +50,8 @@ namespace Config {
"#* Will force 16-color mode and TTY theme, set all graph symbols to \"tty\" and swap out other non tty friendly symbols."}, "#* Will force 16-color mode and TTY theme, set all graph symbols to \"tty\" and swap out other non tty friendly symbols."},
{"presets", "#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.\n" {"presets", "#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.\n"
"#* Format: \"box_name:P:G,box_name:P:G\" P=(0 or 1) for alternate positons, G=graph symbol to use for box.\n" "#* Format: \"box_name:P:G,box_name:P:G\" P=(0 or 1) for alternate positions, G=graph symbol to use for box.\n"
"#* Use withespace \" \" as seprator between different presets.\n" "#* Use withespace \" \" as separator between different presets.\n"
"#* Example: \"cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty\""}, "#* Example: \"cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty\""},
{"vim_keys", "#* Set to True to enable \"h,j,k,l\" keys for directional control in lists.\n" {"vim_keys", "#* Set to True to enable \"h,j,k,l\" keys for directional control in lists.\n"
@ -603,4 +603,4 @@ namespace Config {
} }
} }
} }
} }

View file

@ -48,7 +48,7 @@ namespace Config {
extern vector<string> available_batteries; extern vector<string> available_batteries;
extern int current_preset; extern int current_preset;
//* Check if string only contains space seperated valid names for boxes //* Check if string only contains space separated valid names for boxes
bool check_boxes(const string& boxes); bool check_boxes(const string& boxes);
//* Toggle box and update config string shown_boxes //* Toggle box and update config string shown_boxes

View file

@ -194,10 +194,10 @@ namespace Menu {
"Max 9 presets.", "Max 9 presets.",
"", "",
"Format: \"box_name:P:G,box_name:P:G\"", "Format: \"box_name:P:G,box_name:P:G\"",
"P=(0 or 1) for alternate positons.", "P=(0 or 1) for alternate positions.",
"G=graph symbol to use for box.", "G=graph symbol to use for box.",
"", "",
"Use withespace \" \" as seprator between", "Use withespace \" \" as separator between",
"different presets.", "different presets.",
"", "",
"Example:", "Example:",
@ -206,7 +206,7 @@ namespace Menu {
"Manually set which boxes to show.", "Manually set which boxes to show.",
"", "",
"Available values are \"cpu mem net proc\".", "Available values are \"cpu mem net proc\".",
"Seperate values with whitespace.", "Separate values with whitespace.",
"", "",
"Toggle between presets with key \"p\"."}, "Toggle between presets with key \"p\"."},
{"update_ms", {"update_ms",
@ -435,7 +435,7 @@ namespace Menu {
"equals 100 percent in the io graphs.", "equals 100 percent in the io graphs.",
"(100 MiB/s by default).", "(100 MiB/s by default).",
"", "",
"Format: \"device:speed\" seperate disks with", "Format: \"device:speed\" separate disks with",
"whitespace \" \".", "whitespace \" \".",
"", "",
"Example: \"/dev/sda:100, /dev/sdb:20\"."}, "Example: \"/dev/sda:100, /dev/sdb:20\"."},