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
#* 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.
#* Use withespace " " as seprator between different presets.
#* 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 separator between different presets.
#* 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"

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."},
{"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"
"#* Use withespace \" \" as seprator between different presets.\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 separator between different presets.\n"
"#* 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"
@ -603,4 +603,4 @@ namespace Config {
}
}
}
}
}

View file

@ -48,7 +48,7 @@ namespace Config {
extern vector<string> available_batteries;
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);
//* Toggle box and update config string shown_boxes

View file

@ -194,10 +194,10 @@ namespace Menu {
"Max 9 presets.",
"",
"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.",
"",
"Use withespace \" \" as seprator between",
"Use withespace \" \" as separator between",
"different presets.",
"",
"Example:",
@ -206,7 +206,7 @@ namespace Menu {
"Manually set which boxes to show.",
"",
"Available values are \"cpu mem net proc\".",
"Seperate values with whitespace.",
"Separate values with whitespace.",
"",
"Toggle between presets with key \"p\"."},
{"update_ms",
@ -435,7 +435,7 @@ namespace Menu {
"equals 100 percent in the io graphs.",
"(100 MiB/s by default).",
"",
"Format: \"device:speed\" seperate disks with",
"Format: \"device:speed\" separate disks with",
"whitespace \" \".",
"",
"Example: \"/dev/sda:100, /dev/sdb:20\"."},