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

translated into german #456

Closed
svdermant opened this issue Dec 3, 2020 · 1 comment
Closed

translated into german #456

svdermant opened this issue Dec 3, 2020 · 1 comment

Comments

@svdermant
Copy link

Now i'm finished to translate into german.

but I can't confirm whether all text phases work correctly. It has to be tested but I don't know how.

Here would be the de.json file.

de.zip

@skizzerz
Copy link
Member

skizzerz commented Dec 3, 2020

Please submit this as a pull request, a good guide for how to do this is at https://mvthanoshan.medium.com/how-to-make-your-first-pull-request-on-github-9aefca5cc837 or stop by IRC and we'll be more than happy to walk you through the process.

Once you have the pull request set up, we will begin our review. You will need to test things out on your side as well; the best way to test out translations is by playing games!

To test, you will need to start the bot with the --debug flag, e.g. python3 wolfbot.py --debug. You will want to run the bot this way throughout the testing process; errors with translations while running in --debug will report an error message and continue gameplay, whereas errors with translations while running normally will likely break the game entirely and require the game to be stopped and restarted.

When you encounter error messages while testing, make a note of them and continue on if you can. This way you may be able to catch multiple errors at once and fix all of them.

Useful commands while testing:
!fstart: Forces the game to start, ignoring any wait timers
!fstop: Forces the game to stop. You will want to use this whenever an error causes the game to be unplayable, then fix the issue
!restart: Forces the bot to restart. You will want to use this every time you edit the de.json file to make fixes. Fixes you make in de.json will not be live until the bot restarts.
!revealroles: Displays everyone's role and other information about them (for example, what totem the shamans have)
!fjoin 1-10: Forces 10 fake players to join the game (named 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10). This can be used to increase player counts when you don't have actual people wanting to test things out with you
!force nick1 see nick2: Forces the player named nick1 to see the player named nick2. You can force every role command, e.g. !force nick1 kill nick2 will force nick1 to kill nick2. Alternatively you can force everyone to do something by !force * vote nick2 -- this forces everyone to vote nick2. This command is extremely useful when playing with fake players, as this is how you get them to do things. Use !revealroles in combination with this command in order to determine which players you need to force and what actions to force.
!frole nick1=role1,nick2=role2,...: Use this during the join phase (after players have joined but before the game starts) to assign certain roles to certain players. !frole moonmoon=wolf cub,misha=werekitten,8=seer
!fgame mode: Ensures the specified game mode will be chosen. Use this during the join phase (after players have joined but before the game starts). For example, !fgame default to force the "default" game mode. You can use custom roles with this command with the "roles" mode: !fgame roles=wolf:2,seer:1,mad scientist:1 will have 2 wolves, 1 seer, and 1 mad scientist (everyone else will be villager)

When playing with fake players, private messages sent to them will not be displayed on IRC. You can check the terminal window where lykos is running for every message that the bot sends and receives in order to spot-check that everything looks good. When playing with real people, they will receive everything normally 🙂

Note: you probably translated the command names and role names. Use your translated versions of all of the above commands and roles to verify that all of them work.

I'm closing out this issue because this needs to be a pull request instead. If you have any troubles with the above, please stop by IRC and we'll be happy to help you out!

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