Commit a483826b authored by Antoine Lima's avatar Antoine Lima
Browse files

Installation Guide + updated translations

parent e4d68ae3
......@@ -63,6 +63,37 @@ case "$1" in
cd ..
python -m Babyfut.babyfut
;;
"install")
echo "Installing.."
echo "** Assuming debian-like environment. This shouldn't be run more than once"
echo "** Updating the system to make sure everything is up-to-date."
echo ""
sudo apt-get update && sudo apt-get upgrade
echo ""
echo "** Installing python3 and python tools"
# Sometimes the PYTHONPATH wont be set accordingly for some raspbian distributions
# In which case, manually import the right path (/usr/lib/python3/dist-packages) in
# the virtual environment's activation script
sudo apt-get install -y python3 python3-venv python3-pyqt5 python3-pip qtmultimedia5-examples \
pyqt5-dev pyqt5-dev-tools
echo ""
echo "** Setting up the python virtual environment"
python3 -m venv ../PyQt5
source ../PyQt5/bin/activate
echo ""
echo "** Installing libraries used by the software"
pip install pi-rc522 pyautogui Xlib RPi.GPIO request
echo ""
echo "****************************"
echo ""
echo "Installation done successfully! You may have to source the v-env."
echo "Don't forget to download the \"content\" folder from another source."
bash ./devtools.sh "allc"
;;
*)
echo "Unknown command \"$1\". See script for available commands."
;;
......
......@@ -3,37 +3,37 @@
<context>
<name>Dialog</name>
<message>
<location filename="../ui/delete_dialog_ui.py" line="70"/>
<location filename="delete_dialog_ui.py" line="70"/>
<source>Dialog</source>
<translation>Supression</translation>
</message>
<message>
<location filename="../ui/consent_dialog_ui.py" line="39"/>
<location filename="consent_dialog_ui.py" line="39"/>
<source>Consent Approval Needed</source>
<translation>Validation de Consentement</translation>
</message>
<message>
<location filename="../ui/delete_dialog_ui.py" line="71"/>
<location filename="delete_dialog_ui.py" line="71"/>
<source>Changing {}&apos;s profile</source>
<translation>Modification du profile de {}</translation>
</message>
<message>
<location filename="../ui/delete_dialog_ui.py" line="72"/>
<location filename="delete_dialog_ui.py" line="72"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Select an option&lt;br/&gt;then validate by passing your badge on the table&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Choisissez une option&lt;br/&gt;et validez en passant votre carte sur la table&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../ui/delete_dialog_ui.py" line="73"/>
<location filename="delete_dialog_ui.py" line="73"/>
<source>Delete all records</source>
<translation>Supprimer toutes les données</translation>
</message>
<message>
<location filename="../ui/delete_dialog_ui.py" line="74"/>
<location filename="delete_dialog_ui.py" line="74"/>
<source>Remove the Picture</source>
<translation>Suprrimer la photo</translation>
</message>
<message>
<location filename="../ui/delete_dialog_ui.py" line="75"/>
<location filename="delete_dialog_ui.py" line="75"/>
<source>Make the accout private</source>
<translation>Rendre privé</translation>
</message>
......@@ -41,210 +41,210 @@
<context>
<name>Form</name>
<message>
<location filename="../ui/privacy_ui.py" line="52"/>
<location filename="privacy_ui.py" line="52"/>
<source>Form</source>
<translation>Form</translation>
</message>
<message>
<location filename="../ui/authquick_ui.py" line="231"/>
<location filename="authquick_ui.py" line="235"/>
<source>Identify yourselves! </source>
<translation>Identifiez vous ! </translation>
</message>
<message>
<location filename="../ui/authquick_ui.py" line="232"/>
<location filename="authquick_ui.py" line="236"/>
<source>Use the table&apos;s RFID reader with your card.</source>
<translation>Utilisez les lecteurs RFID de la table avec votre carte étu.</translation>
</message>
<message>
<location filename="../ui/playerlist_ui.py" line="95"/>
<location filename="playerlist_ui.py" line="95"/>
<source>Name</source>
<translation>Nom</translation>
</message>
<message>
<location filename="../ui/authleague_ui.py" line="147"/>
<location filename="authleague_ui.py" line="148"/>
<source>Stat</source>
<translation>Stat</translation>
</message>
<message>
<location filename="../ui/endgame_ui.py" line="104"/>
<location filename="endgame_ui.py" line="106"/>
<source>Player 1</source>
<translation>Joueur 1</translation>
</message>
<message>
<location filename="../ui/endgame_ui.py" line="105"/>
<location filename="endgame_ui.py" line="107"/>
<source>Player 2</source>
<translation>Joueur 2</translation>
</message>
<message>
<location filename="../ui/authquick_ui.py" line="235"/>
<location filename="authquick_ui.py" line="239"/>
<source>vs.</source>
<translation>vs .</translation>
</message>
<message>
<location filename="../ui/authquick_ui.py" line="236"/>
<location filename="authquick_ui.py" line="240"/>
<source>Player 3</source>
<translation>Joueur 3</translation>
</message>
<message>
<location filename="../ui/authquick_ui.py" line="237"/>
<location filename="authquick_ui.py" line="241"/>
<source>Player 4</source>
<translation>Joueur 4</translation>
</message>
<message>
<location filename="../ui/endgame_ui.py" line="103"/>
<location filename="endgame_ui.py" line="105"/>
<source>Congratulations!</source>
<translation>Félicitations !</translation>
</message>
<message>
<location filename="../ui/game_ui.py" line="79"/>
<location filename="game_ui.py" line="79"/>
<source>0</source>
<translation>0</translation>
</message>
<message>
<location filename="../ui/menu_ui.py" line="137"/>
<location filename="menu_ui.py" line="137"/>
<source>Leaderboard</source>
<translation>Classements</translation>
</message>
<message>
<location filename="../ui/leaderboard_ui.py" line="109"/>
<location filename="leaderboard_ui.py" line="110"/>
<source>Sort By</source>
<translation>Trier Par</translation>
</message>
<message>
<location filename="../ui/leaderboard_ui.py" line="111"/>
<location filename="leaderboard_ui.py" line="112"/>
<source>Victories</source>
<translation>Victoires</translation>
</message>
<message>
<location filename="../ui/leaderboard_ui.py" line="112"/>
<location filename="leaderboard_ui.py" line="113"/>
<source>Score</source>
<translation>Score</translation>
</message>
<message>
<location filename="../ui/leaderboard_ui.py" line="113"/>
<location filename="leaderboard_ui.py" line="114"/>
<source>Games Played</source>
<translation>Parties Jouées</translation>
</message>
<message>
<location filename="../ui/leaderboard_ui.py" line="114"/>
<location filename="leaderboard_ui.py" line="115"/>
<source>Time Played</source>
<translation>Temps Joué</translation>
</message>
<message>
<location filename="../ui/leaderboard_ui.py" line="115"/>
<location filename="leaderboard_ui.py" line="116"/>
<source>Jump to</source>
<translation>Sauter à</translation>
</message>
<message>
<location filename="../ui/menu_ui.py" line="134"/>
<location filename="menu_ui.py" line="134"/>
<source>Babyf&apos; UT</source>
<translation>Babyf&apos;UT</translation>
</message>
<message>
<location filename="../ui/menu_ui.py" line="135"/>
<location filename="menu_ui.py" line="135"/>
<source>Start Quick Game</source>
<translation>Partie Rapide</translation>
</message>
<message>
<location filename="../ui/menu_ui.py" line="136"/>
<location filename="menu_ui.py" line="136"/>
<source>Start League Mode</source>
<translation>Championnat</translation>
</message>
<message>
<location filename="../ui/options_ui.py" line="219"/>
<location filename="options_ui.py" line="219"/>
<source>Options</source>
<translation>Options</translation>
</message>
<message>
<location filename="../ui/options_ui.py" line="220"/>
<location filename="options_ui.py" line="220"/>
<source>Game Over Condition</source>
<translation>Condition de Fin de Jeu</translation>
</message>
<message>
<location filename="../ui/options_ui.py" line="221"/>
<location filename="options_ui.py" line="221"/>
<source>By Score</source>
<translation>Par Score</translation>
</message>
<message>
<location filename="../ui/options_ui.py" line="222"/>
<location filename="options_ui.py" line="222"/>
<source>By Time</source>
<translation>Par Temps</translation>
</message>
<message>
<location filename="../ui/options_ui.py" line="223"/>
<location filename="options_ui.py" line="223"/>
<source>{} minutes</source>
<translation>{} minutes</translation>
</message>
<message>
<location filename="../ui/options_ui.py" line="224"/>
<location filename="options_ui.py" line="224"/>
<source>League - Number of players per side</source>
<translation>Championnat - Nombre de joueurs par coté</translation>
</message>
<message>
<location filename="../ui/options_ui.py" line="225"/>
<location filename="options_ui.py" line="225"/>
<source>1</source>
<translation>1</translation>
</message>
<message>
<location filename="../ui/options_ui.py" line="226"/>
<location filename="options_ui.py" line="226"/>
<source>2</source>
<translation>2</translation>
</message>
<message>
<location filename="../ui/options_ui.py" line="227"/>
<location filename="options_ui.py" line="227"/>
<source>Language</source>
<translation>Langage</translation>
</message>
<message>
<location filename="../ui/options_ui.py" line="228"/>
<location filename="options_ui.py" line="228"/>
<source>English</source>
<translation>English</translation>
</message>
<message>
<location filename="../ui/playerlist_ui.py" line="96"/>
<location filename="playerlist_ui.py" line="96"/>
<source>Surname</source>
<translation>Prénom</translation>
</message>
<message>
<location filename="../ui/privacy_ui.py" line="53"/>
<location filename="privacy_ui.py" line="53"/>
<source>Privacy</source>
<translation>Vie Privée</translation>
</message>
<message>
<location filename="../modules/authleague.py" line="51"/>
<location filename="authleague.py" line="51"/>
<source>{} Victories</source>
<translation>{} Victoires</translation>
</message>
<message>
<location filename="../modules/authleague.py" line="52"/>
<location filename="authleague.py" line="52"/>
<source>{} Games Played</source>
<translation>{} Parties Jouées</translation>
</message>
<message>
<location filename="../modules/authleague.py" line="53"/>
<location filename="authleague.py" line="53"/>
<source>{} Goals Scored</source>
<translation>{} Buts Marqués</translation>
</message>
<message>
<location filename="../ui/playerlist_ui.py" line="97"/>
<location filename="playerlist_ui.py" line="97"/>
<source>{} Victories</source>
<comment>Form</comment>
<translation>{} Victoires</translation>
</message>
<message>
<location filename="../ui/playerlist_ui.py" line="98"/>
<location filename="playerlist_ui.py" line="98"/>
<source>{} Goals Scored</source>
<comment>Form</comment>
<translation>{} Buts Marqués</translation>
</message>
<message>
<location filename="../ui/playerlist_ui.py" line="99"/>
<location filename="playerlist_ui.py" line="99"/>
<source>{} Games Played</source>
<comment>Form</comment>
<translation>{} Parties Jouées</translation>
</message>
<message>
<location filename="../ui/playerlist_ui.py" line="100"/>
<location filename="playerlist_ui.py" line="100"/>
<source>{} Minutes Played</source>
<comment>Form</comment>
<translation>{} Minutes Jouées</translation>
......@@ -255,7 +255,7 @@
<translation type="obsolete">Français</translation>
</message>
<message encoding="UTF-8">
<location filename="../ui/options_ui.py" line="229"/>
<location filename="options_ui.py" line="229"/>
<source>Français</source>
<translation type="unfinished"></translation>
</message>
......@@ -263,7 +263,7 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../ui/main_ui.py" line="83"/>
<location filename="main_ui.py" line="83"/>
<source>Babyfoot</source>
<translation>Babyf&apos;UT</translation>
</message>
......@@ -271,7 +271,7 @@
<context>
<name>consent</name>
<message>
<location filename="../modules/privacy.py" line="18"/>
<location filename="privacy.py" line="18"/>
<source>&lt;p&gt;
<byte value="x9"/><byte value="x9"/>This software uses personnal information in accordance to GDPR, such as:
<byte value="x9"/><byte value="x9"/>&lt;ul&gt;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment