fluxxcode / egui-file-dialog

Full featured and customizable file dialog for egui
MIT License
91 stars 14 forks source link

Place label not translated/customized #179

Closed thmxv closed 1 month ago

thmxv commented 1 month ago

Hi, Thanks for this crate.

I could make a PR, but I supposed, (as it is a small error) it would be easier/quicker to just post it here. Correct me if I am wrong and I will do a fork/commit/PR.

The issue is on line 1690 of src/file_dialog.rs where:

ui.label(self.config.labels.heading_places.as_str());

need to be changed to:

ui.label(&labels.heading_places);
fluxxcode commented 1 month ago

Hey, thank you for the issue! What version of the crate are you using?

fluxxcode commented 1 month ago

Ye you are right, I'm able to reproduce it on develop. Will fix it. Thank you :)

thmxv commented 1 month ago

Hey, thank you for the issue! What version of the crate are you using?

I am using 0.6.1, which also has the bug. But the fix is for after the last commit of the git develop branch.

Thanks.