nokyan / resources

Keep an eye on system resources
GNU General Public License v3.0
787 stars 57 forks source link

Update polish translation #396

Closed awumii closed 2 weeks ago

awumii commented 2 weeks ago

style checking fails when i commit for some reason :confused:

admin@archlinux ~/r/po (pl-translation)> git commit -m "Update polish translation"
--Checking style--
Diff in /home/admin/resources/src/config.rs:6:
 pub const RESOURCES_FILE: &str = concat!("/usr/local/share/resources", "/resources.gresource");
 pub const VERSION: &str = "1.6.0-fab94cf";
 pub const LIBEXECDIR: &str = "/usr/local/libexec/resources";
+
--Checking style fail--
Please fix the above issues, either manually or by running: cargo fmt --all

I just run the cargo fmt command and it works

nokyan commented 2 weeks ago

Thanks!

Yeah, I still need to exclude config.rs from the commit check, since it is generated from config.rs.in by meson and the way it's generated is not compliant with cargo fmt's rules