Skip to content

Commit

Permalink
Merge pull request #70 from 221V/master
Browse files Browse the repository at this point in the history
fix language files a bit
  • Loading branch information
Shadowss authored Dec 12, 2024
2 parents e148ec6 + 4aa3c44 commit 4e7eb7a
Show file tree
Hide file tree
Showing 26 changed files with 3,269 additions and 2,801 deletions.
12 changes: 6 additions & 6 deletions Admin/Templates/addUsers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ Submitting this form will create new Users<br>(and their home Villages) on your
$tribe = RANDOM;
break;
case '1':
$tribe = ROMANS;
$tribe = TRIBE1; // Romans
break;
case '2':
$tribe = TEUTONS;
$tribe = TRIBE2; // Teutons
break;
case '3':
$tribe = GAULS;
$tribe = TRIBE3; // Gauls
break;
default:
// Should never reach here
Expand Down Expand Up @@ -157,9 +157,9 @@ Beginners Protection &nbsp;&nbsp;<input type ="checkbox" name="users_protection"
<br><br>
Tribe:<br>
<label><input type="radio" name="tribe" value="0" checked> &nbsp;<?php echo RANDOM; ?></label><br>
<label><input type="radio" name="tribe" value="1"> &nbsp;<?php echo ROMANS; ?></label><br>
<label><input type="radio" name="tribe" value="2"> &nbsp;<?php echo TEUTONS; ?></label><br>
<label><input type="radio" name="tribe" value="3"> &nbsp;<?php echo GAULS; ?></label><br>
<label><input type="radio" name="tribe" value="1"> &nbsp;<?php echo TRIBE1; /* Romans */ ?></label><br>
<label><input type="radio" name="tribe" value="2"> &nbsp;<?php echo TRIBE2; /* Teutons */ ?></label><br>
<label><input type="radio" name="tribe" value="3"> &nbsp;<?php echo TRIBE3; /* Gauls */ ?></label><br>
<br><br>
<input type="submit" value="Create Users">
</form>
2 changes: 1 addition & 1 deletion Admin/Templates/artifact.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $artifactInfo = Artifacts::getArtifactInfo($artifact);
if(empty($artifact)){
?>
<tr>
<td colspan="8"><div style="text-align: center"><?php echo NO_ARTIFACTS; ?></div></td>
<td colspan="8"><div style="text-align: center"><?php echo NO_ARTEFACTS; ?></div></td>
</tr>
<?php }else{ ?>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion Admin/Templates/natars.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $deletedArtifacts = $database->getDeletedArtifacts();
if(empty($deletedArtifacts)){
?>
<tr>
<td colspan="8"><div style="text-align: center"><?php echo NO_ARTIFACTS; ?></div></td>
<td colspan="8"><div style="text-align: center"><?php echo NO_ARTEFACTS; ?></div></td>
</tr>
<?php }else{
Expand Down
16 changes: 8 additions & 8 deletions GameEngine/BBCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@
$replace[51] = "<img class='unit u49' src='img/x.gif' title='".U49."' alt='".U49."'>";
$replace[52] = "<img class='unit u50' src='img/x.gif' title='".U50."' alt='".U50."'>";
$replace[53] = "<img class='unit uhero' src='img/x.gif' title='".U0."' alt='".U0."'>";
$replace[54] = "<img src='img/x.gif' class='r1' title='".R1."' alt='".R1."'>";
$replace[55] = "<img src='img/x.gif' class='r2' title='".R2."' alt='".R2."'>";
$replace[56] = "<img src='img/x.gif' class='r3' title='".R3."' alt='".R3."'>";
$replace[57] = "<img src='img/x.gif' class='r4' title='".R4."' alt='".R4."'>";
$replace[54] = "<img src='img/x.gif' class='r1' title='Lumber' alt='Lumber'>";
$replace[55] = "<img src='img/x.gif' class='r2' title='Clay' alt='Clay'>";
$replace[56] = "<img src='img/x.gif' class='r3' title='Iron' alt='Iron'>";
$replace[57] = "<img src='img/x.gif' class='r4' title='Crop' alt='Crop'>";
$replace[54] = "<img src='img/x.gif' class='r1' title='".LUMBER."' alt='".LUMBER."'>";
$replace[55] = "<img src='img/x.gif' class='r2' title='".CLAY."' alt='".CLAY."'>";
$replace[56] = "<img src='img/x.gif' class='r3' title='".IRON."' alt='".IRON."'>";
$replace[57] = "<img src='img/x.gif' class='r4' title='".CROP."' alt='".CROP."'>";
$replace[54] = "<img src='img/x.gif' class='r1' title='".LUMBER."' alt='".LUMBER."'>";
$replace[55] = "<img src='img/x.gif' class='r2' title='".CLAY."' alt='".CLAY."'>";
$replace[56] = "<img src='img/x.gif' class='r3' title='".IRON."' alt='".IRON."'>";
$replace[57] = "<img src='img/x.gif' class='r4' title='".CROP."' alt='".CROP."'>";
$replace[58] = "<img class='smiley aha' src='img/x.gif' alt='*aha*' title='*aha*'>";
$replace[59] = "<img class='smiley angry' src='img/x.gif' alt='*angry*' title='*angry*'>";
$replace[60] = "<img class='smiley cool' src='img/x.gif' alt='*cool*' title='*cool*'>";
Expand Down
Loading

0 comments on commit 4e7eb7a

Please sign in to comment.