mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-04 19:42:12 -05:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user