Skip to content

Commit

Permalink
Fixed hardcode
Browse files Browse the repository at this point in the history
Improved work with the translation of the game.
  • Loading branch information
jf17 committed May 23, 2022
1 parent 91515c0 commit f343b5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions GameEngine/Lang/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
define("CROP_COM",CROP." consumption");
define("PER_HR","per hour");
define("PROD_HEADER","Production");
define("CAPITAL_LABEL","Capital");
define("MULTI_V_HEADER","Villages");
define("ANNOUNCEMENT","Announcement");
define("GO2MY_VILLAGE","Go to my village");
Expand Down
2 changes: 1 addition & 1 deletion dorf1.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<?php include("Templates/menu.tpl"); ?>
<div id="content" class="village1">
<h1><?php echo $village->vname; if($village->loyalty!='100'){ if($village->loyalty>'33'){ $color="gr"; }else{ $color="re"; } ?><div id="loyality" class="<?php echo $color; ?>"><?php echo LOYALTY; ?> <?php echo floor($village->loyalty); ?>%</div><?php } ?></h1>
<div id="cap" align="left"><?php if($village->capital!='0') { echo "<font color=gray>(Capital)</font>"; } ?></div>
<div id="cap" align="left"><?php if($village->capital!='0') { echo "<font color=gray>(".CAPITAL_LABEL.")</font>"; } ?></div>
<?php include("Templates/field.tpl");
$timer = 1;
?>
Expand Down

0 comments on commit f343b5a

Please sign in to comment.