mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-04 09:27:17 +00:00
l10n: full interface translation (FR/RO/IT/ZH) + EN fallback hardening (#186)
This commit is contained in:
@@ -61,7 +61,7 @@ while ($row = mysqli_fetch_array($farmlists)) {
|
||||
|
||||
<div class="listTitleText">
|
||||
<a href="build.php?gid=16&t=99&action=deleteList&lid=<?php echo $lid; ?>">
|
||||
<img class="del" src="img/x.gif" alt="delete" title="delete">
|
||||
<img class="del" src="img/x.gif" alt="<?php echo DELETE; ?>" title="<?php echo DELETE; ?>">
|
||||
</a>
|
||||
<?php echo $lvname; ?> - <?php echo $lname; ?>
|
||||
</div>
|
||||
@@ -76,11 +76,11 @@ while ($row = mysqli_fetch_array($farmlists)) {
|
||||
<thead>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Village</td>
|
||||
<td>Pop</td>
|
||||
<td>Distance</td>
|
||||
<td>Troops</td>
|
||||
<td>Last raid</td>
|
||||
<td><?php echo VILLAGE; ?></td>
|
||||
<td><?php echo TZ_POP; ?></td>
|
||||
<td><?php echo DISTANCE; ?></td>
|
||||
<td><?php echo TROOPS; ?></td>
|
||||
<td><?php echo TZ_LAST_RAID; ?></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -239,7 +239,7 @@ if (mysqli_num_rows($getnotice) > 0) {
|
||||
</td>
|
||||
|
||||
<td class="action">
|
||||
<a class="arrow" href="build.php?id=39&t=99&action=showSlot&eid=<?php echo $id; ?>">edit</a>
|
||||
<a class="arrow" href="build.php?id=39&t=99&action=showSlot&eid=<?php echo $id; ?>"><?php echo EDIT; ?></a>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@@ -260,18 +260,18 @@ if (mysqli_num_rows($getnotice) > 0) {
|
||||
|
||||
<div class="markAll">
|
||||
<input type="checkbox" onclick="Allmsg(this.form);">
|
||||
<label>Select all</label>
|
||||
<label><?php echo TZ_SELECT_ALL; ?></label>
|
||||
</div>
|
||||
|
||||
<div class="addSlot">
|
||||
<button type="button" onclick="window.location.href='?gid=16&t=99&action=addraid';">Add Raid</button>
|
||||
<button type="submit">Start Raid</button>
|
||||
<button type="button" onclick="window.location.href='?gid=16&t=99&action=addraid';"><?php echo TZ_ADD_RAID; ?></button>
|
||||
<button type="submit"><?php echo TZ_START_RAID; ?></button>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<div class="options">
|
||||
<a class="arrow" href="build.php?gid=16&t=99&action=addList">Create a new list</a>
|
||||
<a class="arrow" href="build.php?gid=16&t=99&action=addList"><?php echo TZ_CREATE_A_NEW_LIST; ?></a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div id="raidListCreate">
|
||||
<h4>Create a new list</h4>
|
||||
<h4><?php echo TZ_CREATE_A_NEW_LIST; ?></h4>
|
||||
|
||||
<form action="build.php?gid=16&t=99" method="post">
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<th>Name:</th>
|
||||
<th><?php echo TZ_NAME; ?></th>
|
||||
<td>
|
||||
<input class="text" id="name" name="name" type="text">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Village:</th>
|
||||
<th><?php echo TZ_VILLAGE; ?></th>
|
||||
<td>
|
||||
<select id="did" name="did">
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button class="trav_buttons" type="submit" value="create">Create</button>
|
||||
<button class="trav_buttons" type="submit" value="create"><?php echo TZ_CREATE; ?></button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
@@ -128,7 +128,7 @@ if ($action === 'addSlot' && $lid) {
|
||||
?>
|
||||
|
||||
<div id="raidListSlot">
|
||||
<h4>Add Slot</h4>
|
||||
<h4><?php echo TZ_ADD_SLOT; ?></h4>
|
||||
|
||||
<font color="#FF0000"><b><?php echo $errormsg; ?></b></font>
|
||||
|
||||
@@ -154,7 +154,7 @@ if ($action === 'addSlot' && $lid) {
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<th>List name:</th>
|
||||
<th><?php echo TZ_LIST_NAME; ?></th>
|
||||
<td>
|
||||
<select name="lid">
|
||||
<?php
|
||||
@@ -180,7 +180,7 @@ if ($action === 'addSlot' && $lid) {
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Target village:</th>
|
||||
<th><?php echo TZ_TARGET_VILLAGE; ?></th>
|
||||
<td class="target">
|
||||
|
||||
<div class="coordinatesInput">
|
||||
@@ -205,7 +205,7 @@ if ($action === 'addSlot' && $lid) {
|
||||
|
||||
<div class="targetSelect">
|
||||
|
||||
<label class="lastTargets">Last targets:</label>
|
||||
<label class="lastTargets"><?php echo TZ_LAST_TARGETS; ?></label>
|
||||
|
||||
<select name="target_id">
|
||||
<?php
|
||||
@@ -255,7 +255,7 @@ if ($action === 'addSlot' && $lid) {
|
||||
|
||||
<?php include("Templates/goldClub/trooplist.tpl"); ?>
|
||||
|
||||
<button type="submit" class="trav_buttons">Create</button>
|
||||
<button type="submit" class="trav_buttons"><?php echo TZ_CREATE; ?></button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
@@ -149,7 +149,7 @@ if (
|
||||
?>
|
||||
|
||||
<div id="raidListSlot">
|
||||
<h4>Edit Slot</h4>
|
||||
<h4><?php echo TZ_EDIT_SLOT; ?></h4>
|
||||
|
||||
<font color="#FF0000"><b><?php echo $errormsg; ?></b></font>
|
||||
|
||||
@@ -173,7 +173,7 @@ if (
|
||||
<table cellpadding="1" cellspacing="1" class="transparent" id="raidList">
|
||||
|
||||
<tr>
|
||||
<th>List name:</th>
|
||||
<th><?php echo TZ_LIST_NAME; ?></th>
|
||||
<td>
|
||||
<select onchange="getTargetsByLid();" id="lid" name="lid">
|
||||
|
||||
@@ -205,7 +205,7 @@ if (
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Target village:</th>
|
||||
<th><?php echo TZ_TARGET_VILLAGE; ?></th>
|
||||
|
||||
<td class="target">
|
||||
|
||||
@@ -231,7 +231,7 @@ if (
|
||||
|
||||
<div class="targetSelect">
|
||||
|
||||
<label class="lastTargets">Last targets:</label>
|
||||
<label class="lastTargets"><?php echo TZ_LAST_TARGETS; ?></label>
|
||||
|
||||
<select name="target_id">
|
||||
|
||||
@@ -290,7 +290,7 @@ if (
|
||||
|
||||
<?php include "Templates/goldClub/trooplist.tpl"; ?>
|
||||
|
||||
<button type="submit" class="trav_buttons">Save</button>
|
||||
<button type="submit" class="trav_buttons"><?php echo SAVE; ?></button>
|
||||
<button type="button"
|
||||
class="trav_buttons"
|
||||
onclick="window.location.href='?gid=16&t=99&action=deleteSlot&eid=<?php echo $eid; ?>&lid=<?php echo $eiddata['lid']; ?>';">
|
||||
|
||||
Reference in New Issue
Block a user