Fix typos (#840)

Found via `codespell -S i18n -L crate,nd,gir,noo`
This commit is contained in:
Kian-Meng Ang 2022-10-23 02:43:06 +08:00 committed by GitHub
parent 42ecc94deb
commit ddc4def99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 18 additions and 18 deletions

View File

@ -37,7 +37,7 @@
## Version 4.1.0 - 24.04.2022r
- New mode - finding files whose content not match with their extension - [#678](https://github.com/qarmin/czkawka/pull/678)
- Builtin icons - no more invalid, theme/OS dependant icons - [#659](https://github.com/qarmin/czkawka/pull/659)
- Builtin icons - no more invalid, theme/OS dependent icons - [#659](https://github.com/qarmin/czkawka/pull/659)
- Big(usually 2x) speedup of showing previews of images(both previews in scan and compare window) - [#660](https://github.com/qarmin/czkawka/pull/660)
- Fix selecting records by custom selection popup - [#632](https://github.com/qarmin/czkawka/pull/632)
- Support more tags when comparing music files - [#590](https://github.com/qarmin/czkawka/pull/590)

View File

@ -240,7 +240,7 @@ pub enum Commands {
minimal_file_size: u64,
#[clap(short = 'i', long, parse(try_from_str = parse_maximal_file_size), default_value = "18446744073709551615", help = "Maximum size in bytes", long_help = "Maximum size of checked files in bytes, assigning lower value may speed up searching")]
maximal_file_size: u64,
#[clap(short = 't', long, parse(try_from_str = parse_tolerance), default_value = "10", help = "Video maximium difference (allowed values <0,20>)", long_help = "Maximum difference between video frames, bigger value means that videos can looks more and more different (allowed values <0,20>)")]
#[clap(short = 't', long, parse(try_from_str = parse_tolerance), default_value = "10", help = "Video maximum difference (allowed values <0,20>)", long_help = "Maximum difference between video frames, bigger value means that videos can looks more and more different (allowed values <0,20>)")]
tolerance: i32,
},
#[clap(name = "ext", about = "Finds files with invalid extensions", help_message = HELP_MESSAGE, after_help = "EXAMPLE:\n czkawka broken -d /home/czokolada/ -f results.txt")]

View File

@ -43,7 +43,7 @@ xxhash-rust = { version = "0.8.5", features = ["xxh3"] }
tempfile = "3.3.0"
# Video Duplactes
# Video Duplicates
vid_dup_finder_lib = "0.1.1"
ffmpeg_cmdline_utils = "0.1.2"

View File

@ -83,7 +83,7 @@ static WORKAROUNDS: &[(&str, &str)] = &[
("html", "ent"), // Mingw
("html", "md"), // Markdown
("jpg", "jfif"), // Photo format
("m4v", "mp4"), // m4v and mp4 are interchangable
("m4v", "mp4"), // m4v and mp4 are interchangeable
("mobi", "azw3"), // Ebook format
("mpg", "vob"), // Weddings in parts have usually vob extension
("obj", "bin"), // Multiple apps, Czkawka, Nvidia, Windows
@ -145,9 +145,9 @@ static WORKAROUNDS: &[(&str, &str)] = &[
("html", "svg"),
("xml", "html"),
// Probably bug in external library
("msi", "ppt"), // Not sure whe ppt is not recognized
("msi", "doc"), // Not sure whe doc is not recognized
("exe", "xls"), // Not sure whe xls is not recognized
("msi", "ppt"), // Not sure why ppt is not recognized
("msi", "doc"), // Not sure why doc is not recognized
("exe", "xls"), // Not sure why xls is not recognized
];
#[derive(Clone)]

View File

@ -191,7 +191,7 @@ impl BigFile {
let mut dir_result = vec![];
let mut warnings = vec![];
let mut fe_result = vec![];
// Read current dir childrens
// Read current dir children
let read_dir = match fs::read_dir(&current_folder) {
Ok(t) => t,
Err(e) => {

View File

@ -240,7 +240,7 @@ impl BrokenFiles {
let mut dir_result = vec![];
let mut warnings = vec![];
let mut fe_result = vec![];
// Read current dir childrens
// Read current dir children
let read_dir = match fs::read_dir(&current_folder) {
Ok(t) => t,
Err(e) => {

View File

@ -378,7 +378,7 @@ where
let mut fe_result = vec![];
let mut set_as_not_empty_folder_list = vec![];
let mut folder_entries_list = vec![];
// Read current dir childrens
// Read current dir children
let read_dir = match fs::read_dir(&current_folder) {
Ok(t) => t,
Err(e) => {

View File

@ -334,7 +334,7 @@ impl SimilarImages {
let mut dir_result = vec![];
let mut warnings = vec![];
let mut fe_result = vec![];
// Read current dir childrens
// Read current dir children
let read_dir = match fs::read_dir(&current_folder) {
Ok(t) => t,
Err(e) => {

View File

@ -299,7 +299,7 @@ impl SimilarVideos {
let mut dir_result = vec![];
let mut warnings = vec![];
let mut fe_result = vec![];
// Read current dir childrens
// Read current dir children
let read_dir = match fs::read_dir(&current_folder) {
Ok(t) => t,
Err(e) => {

View File

@ -178,7 +178,7 @@ impl Temporary {
let mut dir_result = vec![];
let mut warnings = vec![];
let mut fe_result = vec![];
// Read current dir childrens
// Read current dir children
let read_dir = match fs::read_dir(&current_folder) {
Ok(t) => t,
Err(e) => {

View File

@ -19,7 +19,7 @@ chrono = "0.4.22"
# Used for sending stop signal across threads
crossbeam-channel = "0.5.6"
# To get informations about progress
# To get information about progress
futures = "0.3.24"
# For saving/loading config files to specific directories

View File

@ -877,7 +877,7 @@ pub fn connect_compute_results(gui_data: &GuiData, glib_stop_receiver: Receiver<
// Sort
let vec_file_entry = if vec_file_entry.len() >= 2 {
let mut vec_file_entry = vec_file_entry.clone();
// Use comparsion by similarity, because it is more important that path here
// Use comparison by similarity, because it is more important that path here
vec_file_entry.sort_unstable_by_key(|e| e.similarity);
vec_file_entry
} else {

View File

@ -31,7 +31,7 @@ pub fn opening_enter_function_ported_upper_directories(event_controller: &gtk4::
panic!()
}
}
// false // True catches signal, and don't send it to function, e.g. up button is catched and don't move selection
// false // True catches signal, and don't send it to function, e.g. up button is caught and don't move selection
Inhibit(false)
}
@ -81,7 +81,7 @@ pub fn opening_enter_function_ported(event_controller: &gtk4::EventControllerKey
nt_object.column_selection,
nt_object.column_header,
);
Inhibit(false) // True catches signal, and don't send it to function, e.g. up button is catched and don't move selection
Inhibit(false) // True catches signal, and don't send it to function, e.g. up button is caught and don't move selection
}
pub fn opening_double_click_function(gesture_click: &GestureClick, number_of_clicks: i32, _b: f64, _c: f64) {

View File

@ -4,7 +4,7 @@
If you use Snap, Flatpak or Appimage, you need to only install ffmpeg if you want to use Similar Videos tool.
For Czkawka GUI the lowest supported version of GTK is `3.24` which is the only required dependency(of course on Ubuntu, different distributions will probably require a little different set of dependences).
In app exists Similar Video tool which require `FFmpeg` to work, but is completelly optional and without it, only warning would be printed when trying to use this tool without installed ffmpeg.
In app exists Similar Video tool which require `FFmpeg` to work, but is completely optional and without it, only warning would be printed when trying to use this tool without installed ffmpeg.
Broken files finder by default don't check for music files, but it is possible to enable this feature and that require to have alsa lib installed(on Ubuntu this is `libasound2-dev` package)
**Warning**