Commit 76ba52ce authored by Sophie Herold's avatar Sophie Herold

Codespell fixes

parent c7cc43a5
Pipeline #218142 passed with stage
in 29 minutes and 30 seconds
......@@ -92,7 +92,7 @@ impl BackupConfig {
let repo_file = gio::File::new_for_path(&if repo.exists() {
repo
} else {
// for new repos the repo directory itself usually doesen't exist
// for new repos the repo directory itself usually doesn't exist
repo.parent().unwrap_or(repo)
});
......
......@@ -154,7 +154,7 @@ fn show_archives(archive_list: Result<Vec<borg::ListArchive>, BorgErr>) {
err @ Err(_) => {
ui::utils::dialog_catch_err(
err,
gettext("An error occured while retriving the list of archives."),
gettext("An error occurred while retrieving the list of archives."),
);
}
}
......
......@@ -523,7 +523,7 @@ pub fn refresh_status(communication: &borg::Communication) -> Continue {
main_ui().status_button().show();
main_ui().status_text().set_text(&gettext("Reconnecting"));
main_ui().status_subtext().set_text(&gettext!(
"Conenction lost, reconnecting {}",
"Connection lost, reconnecting {}",
&crate::BORG_DELAY_RECONNECT.humanize()
));
}
......
......@@ -163,7 +163,7 @@ fn add_local(ui: Rc<builder::NewBackup>) {
}
fn add_button_clicked(ui: Rc<builder::NewBackup>) {
main_pending::show(&gettext("Initializing new backup respository …"));
main_pending::show(&gettext("Initializing new backup repository …"));
ui.new_backup().hide();
let uri = ui.add_remote_uri().get_text();
......@@ -247,7 +247,7 @@ fn init_button_clicked(ui: Rc<builder::NewBackup>) {
borg.set_password(password);
}
main_pending::show(&gettext("Initializing new backup respository …"));
main_pending::show(&gettext("Initializing new backup repository …"));
ui.new_backup().hide();
ui::utils::async_react(
......
......@@ -265,7 +265,7 @@ where
match res {
Err(e) => {
let formatted = format!("{}\n\n{}", msg.as_ref(), e);
warn!("Displaying catched error:\n\n{}", formatted);
warn!("Displaying caught error:\n\n{}", formatted);
dialog_error(&formatted);
true
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment