MeanEYE / Sunflower

Small and highly customizable twin-panel file manager for Linux with support for plugins.
GNU General Public License v3.0
427 stars 41 forks source link

Added translations in setup.py #518

Closed lRespublica closed 1 year ago

lRespublica commented 1 year ago

Hi, I`m packaging Sunflower for ALT Linux repository.

If we run next commands: /usr/bin/python3 -m pyproject_installer -v build /usr/bin/python3 -m pyproject_installer -v install --destdir=%buildroot

Then the translation files will not be located in buildroot. This patch scans the entire translations directory and copying all *.mo files in /usr/share/locale/LANG/LC_MESSAGES/sunflower.mo

MeanEYE commented 1 year ago

Am quite inexperienced with setuptools and finding information about the proper way to do things is proving rather difficult. Thanks for PR, am merging it.

lRespublica commented 1 year ago

You`re welcome! BTW, sunflower is built and available on ALT Linux

MeanEYE commented 1 year ago

That's great to see. Thank you. I'll have to pick up development on it again. Let me know if yuo guys run into any issues with my Sunflower and I'll do my best to fix.