From de20738735a7ddf9712d8dbb14bcd2b71b95db2f Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 13 Nov 2025 08:59:59 -0700 Subject: [PATCH] Split out empty trash title, fixes #1373 --- i18n/en/cosmic_files.ftl | 3 ++- src/app.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/i18n/en/cosmic_files.ftl b/i18n/en/cosmic_files.ftl index 784533a..ead8ae2 100644 --- a/i18n/en/cosmic_files.ftl +++ b/i18n/en/cosmic_files.ftl @@ -52,7 +52,8 @@ extract-to = Extract To... extract-to-title = Extract to folder ## Empty Trash Dialog -empty-trash = Empty trash? +empty-trash = Empty trash +empty-trash-title = Empty trash? empty-trash-warning = Items in the Trash folder will be permanently deleted ## Mount Error Dialog diff --git a/src/app.rs b/src/app.rs index d6f673b..bba161f 100644 --- a/src/app.rs +++ b/src/app.rs @@ -4884,7 +4884,7 @@ impl Application for App { dialog } DialogPage::EmptyTrash => widget::dialog() - .title(fl!("empty-trash")) + .title(fl!("empty-trash-title")) .body(fl!("empty-trash-warning")) .primary_action( widget::button::suggested(fl!("empty-trash"))