en fait c'est chiant de faire un site multilangue
This commit is contained in:
parent
23efc31e1e
commit
f5ef5d6b37
|
@ -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>
|
||||
|
|
|
@ -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'
|
||||
);
|
|
@ -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'
|
||||
);
|
Loading…
Reference in New Issue
Block a user