Internationalize public pages and add French translations (#345)

This commit is contained in:
WikiDroneFr
2026-07-25 16:38:18 +02:00
committed by GitHub
parent f469cd428a
commit cc34a8dd4c
12 changed files with 648 additions and 246 deletions
+46 -46
View File
@@ -40,7 +40,7 @@ AccessLogger::logRequest();
</div>
<div id="header">
<h1>Welcome to <?php echo SERVER_NAME; ?></h1>
<h1><?php echo PUBLIC_WELCOME_TO; ?> <?php echo SERVER_NAME; ?></h1>
</div>
<div id="navigation">
@@ -51,19 +51,19 @@ AccessLogger::logRequest();
<tr>
<td><a href="tutorial.php"><span>Tutorial</span></a></td>
<td><a href="tutorial.php"><span><?php echo TUTORIAL; ?></span></a></td>
<td><a href="anleitung.php"><span>Manual</span></a></td>
<td><a href="anleitung.php"><span><?php echo PUBLIC_MANUAL; ?></span></a></td>
<td><a href="https://github.com/Shadowss/TravianZ/discussions" target="_blank"><span>Forum</span></a></td>
<td><a href="https://github.com/Shadowss/TravianZ/discussions" target="_blank"><span><?php echo FORUM; ?></span></a></td>
<td><a href="index.php?signup"><span>Register</span></a></td>
<td><a href="index.php?signup"><span><?php echo PUBLIC_REGISTER; ?></span></a></td>
<td><a href="index.php?login"><span>Login</span></a></td>
<td><a href="index.php?login"><span><?php echo LOGIN; ?></span></a></td>
</tr>
@@ -76,103 +76,103 @@ AccessLogger::logRequest();
<div class="grit">
<h1>Game Rules</h1>
<h1><?php echo PUBLIC_RULES_TITLE; ?></h1>
<p class="submenu">
The below set of rules are in addition to the General Terms and Conditions of Travian. You should familiarize yourself with the General Terms and Conditions to verify what is allowed, especially in the case of an account that has been banned for a rule violation.
<?php echo PUBLIC_RULES_INTRO_1; ?>
<br /><br />
Inciting, manipulating, encouraging, assisting or conspiring with others to violate any of Travian Rules is impermissible. These rules apply for players that will delete their accounts or are currently deleting their accounts without exception.
<?php echo PUBLIC_RULES_INTRO_2; ?>
</p>
<ul class="rules">
<li><strong style="color: #2A720B">&sect;1 Password, Registration &amp; ownership</strong><br />
Each player may only own and play one account per server.
<?php echo PUBLIC_RULES_ONE_ACCOUNT; ?>
<ul>
<li><strong style="color: #3BAE18">&sect;1.1 Registration</strong><br />
The e-mail address used for the registration of an account must be under the personal and exclusive control of the person who registered the account. The person owning the e-mail address used to register an account is considered the owner of the account, regardless of any other personal or alliance agreements. The owner of an account is fully responsible for all actions taken with the account.
<?php echo PUBLIC_RULES_EMAIL_OWNER; ?>
</li>
<li><strong style="color: #3BAE18">&sect;1.2 Password</strong><br />
The owner of an account may not transfer the password of an account to any person playing on the same game world (server). Additionally, knowingly choosing the same password on the same game world as another person is illegal; any of these actions is considered multiaccounting, as defined in these rules.
<li><strong style="color: #3BAE18"><?php echo PUBLIC_RULES_SECTION_1_2; ?></strong><br />
<?php echo PUBLIC_RULES_PASSWORD_SAME_WORLD; ?>
<br /><br />
However, it is permissible to transfer the password of an account to a person or persons playing on different game world (or not playing at all) in order to play a single account together.
<?php echo PUBLIC_RULES_PASSWORD_OTHER_WORLD; ?>
<br /><br />
There is no compensation for damages done by someone knowing the password for an account. The person receiving the password is subject to the rules of Travian as well as the General Terms and Conditions.
<?php echo PUBLIC_RULES_PASSWORD_DAMAGE; ?>
</li>
<li><strong style="color: #3BAE18">&sect;1.3 Email changes / account transfers</strong><br />
In order to change the email address of your account or to transfer your account to another player NOT playing on the same server, go into your account profile (/spieler.php?s=3) and fill out the new email information.
<li><strong style="color: #3BAE18"><?php echo PUBLIC_RULES_SECTION_1_3; ?></strong><br />
<?php echo PUBLIC_RULES_EMAIL_CHANGE; ?>
</li>
<li><strong style="color: #3BAE18">&sect;1.4 Switching accounts</strong><br />
In order to switch an account with a person on the same game world, both persons must send an e-mail message to admin@travian.com from the e-mail address currently registered for the account. The e-mail must contain the following information:
<?php echo PUBLIC_RULES_SAME_WORLD_TRANSFER; ?>
<ol>
<li>The game world on which the account resides</li>
<li>The nickname of the account</li>
<li>The e-mail address of the new owner. </li>
<li><?php echo PUBLIC_RULES_WORLD_NAME; ?></li>
<li><?php echo PUBLIC_RULES_ACCOUNT_NICKNAME; ?></li>
<li><?php echo PUBLIC_RULES_NEW_OWNER_EMAIL; ?> </li>
</ol>
Afterwards both persons must request the password for their new account via the password retrieval function.
<?php echo PUBLIC_RULES_PASSWORD_REQUEST_AFTER_TRANSFER; ?>
</li>
</ul>
</li>
<li><strong style="color: #2A720B">&sect;2 Sitting &amp; same pc usage</strong><br />
<ul>
<li><strong style="color: #3BAE18">&sect;2.1 Sitting</strong><br />
Every player has the right to name two sitters who may play the account during an owner's absence. Sitters must play the account they are sitting to the accounts full benefit. Abuse of this function is punishable.
<?php echo PUBLIC_RULES_SITTERS; ?>
<br />
The sitter of an account must sit the account using the account sitting function in game. The sitter of an account may not tend to an account by logging on with the password of the account they are sitting (see &sect;1.2).
<?php echo PUBLIC_RULES_SITTER_LOGIN; ?>
<br />
There is no compensation for damages done by a sitter. Owners of an account are fully responsible for the actions of any sitters for their account. In the event that sitters of an account do not follow these rules and the General Terms and Conditions of Travian, both the account owner and the sitter may be punished.
<?php echo PUBLIC_RULES_SITTER_DAMAGE; ?>
</li>
<li><strong style="color: #3BAE18">&sect;2.2 Same pc usage</strong><br />
Players using the same computer and wanting to access each other's account must use the sitter function.
<?php echo PUBLIC_RULES_SHARED_COMPUTER; ?>
</li>
</ul>
</li>
<li><strong style="color: #2A720B">&sect;3 Use of externals</strong><br />
The game must be played with an unmodified internet browser. The use of scripts or bots which automate is against the rules.
<?php echo PUBLIC_RULES_BROWSER; ?>
</li>
<li><strong style="color: #2A720B">&sect;4 Program errors</strong><br />
Program errors (also called bugs) may not be used to one's benefit. Abuse can lead to a punishment of the account.
<li><strong style="color: #2A720B"><?php echo PUBLIC_RULES_PROGRAM_ERRORS_HEADING; ?></strong><br />
<?php echo PUBLIC_RULES_BUGS; ?>
</li>
<li><strong style="color: #2A720B">&sect;5 Money transactions</strong><br />
Any sales or purchases concerning real money regarding accounts, units, villages, resources, services or any other aspect of Travian are impermissible. The sale of Travian accounts as well as any indirect transfer (even as gifts) in connection with auction sites or other money transactions is impermissible.
<?php echo PUBLIC_RULES_REAL_MONEY; ?>
</li>
<li><strong style="color: #2A720B">&sect;6 Netiquette</strong><br />
Everyone must communicate in a polite, conversational tone. Multihunters may change inappropriate profiles and village names without warning.
<?php echo PUBLIC_RULES_POLITE_COMMUNICATION; ?>
<ol>
<li>Following behavior is punishable and applies to all descriptions, the account name, alliance names, village names and messages: <br />
English is the only official language tolerated.
<li><?php echo PUBLIC_RULES_BEHAVIOUR_INTRO; ?> <br />
<?php echo PUBLIC_RULES_LANGUAGE; ?>
<br />
Participation in abusive, defamatory, sexist, racist or profane language; disparaging any religion, race, nation, gender, age group, or sexual orientation; threatening persons with actions in real life.
<br />
Posting or transmission of any material not suitable for underage persons.
<br />
Blackmailing players in a way that violates any of Travian's rules respective the general terms and conditions.
<?php echo PUBLIC_RULES_BLACKMAIL; ?>
<br />
Displaying battle reports or messages in public without consent of both concerned persons.
</li>
<li>No real world politics are allowed in names, messages and descriptions. </li>
<li>Impersonation of officials or official positions is illegal in any way.
<li>Impersonation of officials or official positions is illegal in any way.
</li>
<li>Advertisement of any kind that has not been permitted by the Travian Team is impermissible. </li>
<li><?php echo PUBLIC_RULES_ADVERTISING; ?> </li>
</ol>
</li>
<li><strong style="color: #2A720B">&sect;7 Punishments</strong><br />
If there is an offence against these game rules, the Multihunters and, if necessary, the Administrators will ban the account(s) in question and decide on a proper punishment. Punishments will always exceed the gain of the violation of the rules.
<?php echo PUBLIC_RULES_PUNISHMENT; ?>
<br />
Resources, buildings, villages or troops lost during the time of suspension do not count as punishment and will not be replaced by the Travian Team. No player has the right to claim payment or replacement for Plus/Gold time lost due to suspension.
<?php echo PUBLIC_RULES_NO_REPLACEMENT; ?>
<br />
here is no special treatment for Travian Plus/Gold users regarding the game rules neither in the time needed to deal with the case nor in the punishment.
<?php echo PUBLIC_RULES_NO_SPECIAL_TREATMENT; ?>
<br /><br />
Players may talk to the Multihunter who banned them or an Administrator either via IGM (ingame message) or e-mail. Bans, punishments or deletions are not to be discussed in public (e.g. Chat or Forums). Appeals must be written in English.
<?php echo PUBLIC_RULES_APPEALS; ?>
<br />
Additionally, the Travian Team will not provide information to persons other than the account owner.
<?php echo PUBLIC_RULES_OWNER_INFORMATION; ?>
<br /><br />
Multi accounts on the speed server and multi accounts with less than 100 population may be deleted on sight with no warning.
<?php echo PUBLIC_RULES_MULTI_DELETE; ?>
</li>
<li><strong style="color: #2A720B">&sect;8 Changing of rules</strong><br />
The Travian Team reserves the right to change the rules at any time.
<li><strong style="color: #2A720B"><?php echo PUBLIC_RULES_SECTION_8; ?></strong><br />
<?php echo PUBLIC_RULES_CHANGE_ANY_TIME; ?>
</li>
<li><strong style="color: #2A720B">&sect;9 Correction clause</strong><br />
If individual regulations of this set of rules should be ineffective, it does not affect the validity of the remaining regulations of this set of rules. The Administrators commit themselves to replace ineffective regulations with new regulations which replace the ineffective regulations as fast as possible.
<?php echo PUBLIC_RULES_SEVERABILITY; ?>
</li>
</ul>
</div>
@@ -197,7 +197,7 @@ If individual regulations of this set of rules should be ineffective, it does no
<div class="overlay_content">
<a href="index.php" class="closer"><img class="dynamic_img" alt="Close" src="img/un/x.gif" /></a>
<a href="index.php" class="closer"><img class="dynamic_img" alt="<?php echo PUBLIC_CLOSE; ?>" src="img/un/x.gif" /></a>
<h2>Anleitung</h2>