en fait c'est chiant de faire un site multilangue

This commit is contained in:
gnieark 2015-11-29 21:03:39 +01:00
parent 23efc31e1e
commit f5ef5d6b37
3 changed files with 6 additions and 4 deletions

View File

@ -128,9 +128,10 @@ if($currentArena == ""){
default:
//battle history for this arena
$hist=get_battles_history($currentArena);
echo '<aside id="history">
<h2>infos:</h2>
<a href="/'.$currentArena.'/doc">'.$lang['DEV_DOC_SPECS_LINKS'].'</a>
<p>'.$lang['DEV-YOUR-OWN-BOT']." <a href="/'.$currentArena.'/doc">'.$lang['DOC_SPECS_LINKS].'</a>
<h2>Scores</h2>';
foreach($hist as $sc){
echo '<h3>'.$sc['bot1'].' VS '.$sc['bot2'].'</h3>

View File

@ -8,5 +8,6 @@ $lang=array(
'DRAW' => 'drawn match',
'MAKE_DUEL' => 'Organise a duel',
'FIGHT' => 'Fight!',
'DEV_DOC_SPECS_LINKS' =>'Program your own bot, and send it on this arena. Read tle technicals specifications'
'DEV-YOUR-OWN-BOT' => 'Program your own bot, and send it on this arena..',
'DOC_SPECS_LINKS' =>'Read the technicals specifications'
);

View File

@ -11,6 +11,6 @@ $lang=array(
'DRAW' => 'matchs nuls',
'MAKE_DUEL' => 'Provoquer un duel',
'FIGHT' => 'Baston!',
'DEV_DOC_SPECS_LINKS' =>'Developpez votre bot et envoyez le dans cette arène. Voici les spécifications techniques'
'DEV-YOUR-OWN-BOT' => 'Developpez votre bot et envoyez le dans cette arène.',
'DOC_SPECS_LINKS' =>'Voici les spécifications techniques'
);