Fixed hardcode

Improved work with the translation of the game.
This commit is contained in:
Alex Alexandrovich
2022-05-21 18:03:02 +03:00
parent 91515c0303
commit f343b5a33a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -130,6 +130,7 @@ define("LEVEL","Level");
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");
+1 -1
View File
@@ -71,7 +71,7 @@ else $building->procBuild($_GET);
<?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;
?>