-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split up main file into components #5
base: master
Are you sure you want to change the base?
Conversation
Make py file more readable
@winterheart sorry this is such a big change in one go 🙏🏽 The functionality of the program is not altered at all here, so it should behave the same as it did before. There are a couple of small bugfixes as well, which unfortunately I can't remember. I tested to the best of my abilities various combinations of input and output files. The reason I'm making all these changes is in preparation for using Of course, no pressure on merging this change if you don't feel like it fits your main repo. Happy to keep this as a separate fork if that's your preference. |
* Not sure why that didn't commit before
Hi. |
This change splits up the main
RimTranslate.py
file into different components. This makes it easier to read and debug the code, and DRYs it up as well.It creates the following hierarchy:
Additionally, it's implied that PO files would be created in
po/
, and output files inoutput/
. We can leave this open for the user to choose, or make it the default later on.