mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-27 11:37:59 -06:00
fix(test): reload tests pin the English interface like every other harness (#2239)
unsaved_changes_are_kept_until_reload_is_chosen looked for the English notice while the app followed the developer's system language (Auto), so it failed on a non-English Windows. Co-authored-by: abc2cb <271337822+abc2cb@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>
This commit is contained in:
co-authored by
abc2cb
Claude Opus 5.5
Brandon Thomas
parent
72d6655b28
commit
2f64aac1e6
@@ -80,6 +80,8 @@ fn harness(path: &str) -> Harness<'static, PdfCraftApp> {
|
||||
app.set_option("language", "en").unwrap();
|
||||
// The labels looked for are English, whatever the machine's language.
|
||||
app.set_option("language", "en").unwrap();
|
||||
// The labels below are English whatever the developer's system language is.
|
||||
app.set_option("language", "en").unwrap();
|
||||
app.run_inline = true;
|
||||
app.open_path(&path);
|
||||
app
|
||||
|
||||
Reference in New Issue
Block a user