From 1d28fb5599337bf1891ac8cc43b7656975d239d7 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 23 Mar 2026 20:52:55 +0100 Subject: Use english as the base language --- src/handlers/file.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/handlers/file.rs') diff --git a/src/handlers/file.rs b/src/handlers/file.rs index bd501e8..f816e62 100644 --- a/src/handlers/file.rs +++ b/src/handlers/file.rs @@ -36,7 +36,11 @@ pub fn load_file(model: &mut AppModel, path: PathBuf) { model.modified = false; } Err(error) => { - dialogs::show_error(&model.window, &tr!("errors.file.open"), &error.to_string()); + dialogs::show_error( + &model.window, + &tr!("Could not open file. Please make sure the file is readable."), + &error.to_string(), + ); } } } @@ -59,7 +63,11 @@ pub fn save_to_file(model: &mut AppModel, path: PathBuf, close_after: bool) { } } Err(error) => { - dialogs::show_error(&model.window, &tr!("errors.file.save"), &error.to_string()); + dialogs::show_error( + &model.window, + &tr!("Could not save file. Please make sure the destination is writable."), + &error.to_string(), + ); } } } -- cgit