Skip to content
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

How do I update the self-host bot without harming the original file? (Because I have already translated the text part.) #276

Closed
Ray-Hsueh opened this issue Jun 7, 2024 · 1 comment

Comments

@Ray-Hsueh
Copy link

How do I update the self-host bot without harming the original file? (Because I have already translated the text part. I do not want to re-translate it because that would be a great effort.)

@laggron42
Copy link
Member

You have to play with git to update and keep your changes.

The good news is, git handles conflicts very well, if you update you will get a list of places that conflict and be able to resolve them. If we haven't changed the text on our end, then git will cleverly merge your changes with ours and you'll keep your translations while getting the latest features.

The bad news, git is not easy to use. I can only point you to the right directions because this is out of scope of the bot. Make a stash with your branches (git stash), update the bot (git pull) and see what conflicts you end up with. If you have some, you can follow git's tutorial to fix them, or really anything online, it's widely covered. (VScode comes with built-in features to handle conflicts btw)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants