ui: the start screen's drop hint uses the catalog's full sentence, so it is translated (#9208)

Co-authored-by: jianzhichun <17561654+jianzhichun@users.noreply.github.com>
This commit is contained in:
简直蠢丶
2026-12-04 19:40:40 +08:00
committed by GitHub
parent 7b50cfaa7f
commit bb669c7a4c
+1 -1
View File
@@ -157,7 +157,7 @@ pub fn show(app: &mut PdfCraftApp, ui: &mut egui::Ui) {
// Open is in the title bar, as in production.
.offers_open(false)
.pinned_title(tl!("Folders").to_string())
.drop_hint(tl!("Files you open in PdfCraft appear here").to_string())
.drop_hint(tl!("Files you open in PdfCraft appear here. Drop a PDF anywhere to open it.").to_string())
.section(StartPlace::BeforeRecent, |ui, _| {
let _ = Text::new(tl!("Welcome to PdfCraft").to_string()).role(TypeRole::Display).show(ui);
let _ = Text::new(tl!("An open-source PDF workbench — local, private, and scriptable.").to_string()).show(ui);