mau_mau_bot/locales/compile.sh
Jarv ea881cf520 Added gamemodes. New mode: Fast. (#44)
* Changes for possible bug

* New sanic mode wip

* More changes for fast mode, WIP

* Fast mode is playable (code is ugly tho)

* Fixed skip error

* Fixed fast mode error

* Bug fixing

* Possible fix for the /leave bug before the game starts

* Update README to include Codacy badge

* Fixing error prone code

* Removing code smells

* Removing more code smells

* How long can this go on? (More smells according to Codacy)

* Compile locale fixed for Linux. Small es_ES fix.

* Major refactoring

* Wild mode finished. Changed emojis for text in log.

* Removing test prints, back to emojis

* Code cleaning and fix for player time in fast mode

* Changing help to not override builtin function

* Decreased bot.py's complexity

* Default gamemode is now Fast. Added a bot configuration file

* back to random

* Moved logger to shared_vars

* Added MIN_FAST_TURN_TIME to config and fixed 'skipped 4 times' message

* Pull review changes

* More review changes

* Removing codacy badge linked to my account for pull request

* Fixed first special card issue, logger back to how it was (with just one logging init)

* Renamed gameplay config file to gameplay_config.py.
2017-11-27 17:59:19 +01:00

28 lines
422 B
Bash

#!/bin/bash
# This script compiles the unobot.po file for all languages.
function compile {
cd './'$1'/LC_MESSAGES/'
msgfmt unobot.po -o unobot.mo
cd ../../
}
# Deutsch
compile de_DE
# Spanish
compile es_ES
# Indonesian
compile id_ID
# Italian
compile it_IT
# Portuguese
compile pt_BR
# Russian
compile ru_RU
# Simplified Chinese
compile zh_CN
# Chinese (Honk Kong)
compile zh_HK
# Traditional Chinese
compile zh_TW