Commit Graph

35 Commits

Author SHA1 Message Date
Ferywir 524b9e7edd fix(i18n): localize statistics page and troops Hero label [#197]
On a fresh install several strings were still hardcoded in English
(reported on the live server, RO locale):

- statistiken.php: the page <title>, the <h1> and the tab bar
  (Player / Alliances / Villages / Heroes / General) were literal English.
- Templates/Ranking/ranksearch.tpl: the "back | forward" pagination links.
- Templates/troops.tpl: the "Hero" troop-row label.

Wire them to language constants. Reuse existing ones
(STATISTICS, PLAYER, PLAYERS, VILLAGES, BACK, FORWARD, U0) and add three
new constants (ALLIANCES, HEROES, GENERAL) to en/fr/ro. WW is kept as-is
(universal acronym).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 18:37:22 +03:00
Ferywir 5d366284e6 l10n: full interface translation (FR/RO/IT/ZH) + EN fallback hardening (#186) 2026-06-09 10:28:59 +03:00
novgorodschi catalin 3f32e21333 Fix bug in General Stats
Fix bug in General Stats - now troops appear !
2026-05-20 07:47:02 +03:00
Catalin Novgorodschi 8901c36c06 Incremental Refactor Templates 2
Incremental Refactor Templates 2
2026-05-07 08:24:40 +03:00
Catalin Novgorodschi a02be51969 Incremental Refactor Templates
Incremental Refactor Templates
2026-05-06 13:16:54 +03:00
Catalin Novgorodschi adf796f42a Restore some broken code
Restore some broken code
2026-04-29 13:21:12 +03:00
Catalin Novgorodschi 59c1114b1c Change some text on license TravianZ 2025-02-11 11:22:22 +02:00
Catalin Novgorodschi 850687f50f Update general.tpl 2024-11-21 14:09:43 +02:00
Vladyslav afe25fb5fd Minor bug fixing
+Fixed incorrect display of footer in village statistics
2018-08-31 13:46:08 +03:00
iopietro 1f86162179 Artifacts fix
+Added the possibility to add WW villages to a player, in the admin
panel
+Fixed the WW villages counter
+Deleted Natars' artifacts can now be recovered from the admin panel
2018-07-25 15:32:14 +02:00
iopietro ee0b4984c2 #554 Fixes and General fixes
+Fixed a bug that could have happened in the statistics if there were 0
users in the server
+Fixed a compatibility bug with PHP 7.0
2018-07-24 18:19:44 +02:00
Shadow 5bc1633182 Block folder accces
+404 error
2018-06-13 11:17:18 +03:00
phaze1G 77e3cd68b0 Buttons replace part 2 (#536)
* Update assignpos.tpl

* Update changename.tpl

* Update kick.tpl

* Update kick.tpl

* Update linkforum.tpl

* Update search.tpl

* Update 18_create.tpl

* Update invite.tpl

* Update option.tpl

* Update newdorf.tpl

* buttons replace part 2

* Update addABTroops.tpl

* Update addTroops.tpl

* Update graphic.tpl

* Update all.tpl

* Update archive.tpl

* Update forum_3.tpl

* Update read.tpl

* Update ranksearch.tpl

* Update delete.tpl

* Update inbox.tpl

* Update 19.tpl
2018-04-29 13:03:59 +02:00
Pietro Fallanca 86070d1691 Fixed a rounding bug
+General statistics and server info tribe percentages are now shown
correctly
2018-04-13 19:20:19 +02:00
iopietro 9e44c1cd6d Some replacements
+Replaced all $GLOBALS['link'] with $database->dblink
-Removed Templates/links.tpl from build.php (it's already in
Templates/menu.tpl)
2018-04-08 19:55:28 +02:00
Alex Stoica 958cf9a635 Fix bad defied row key 2018-01-07 05:30:05 +00:00
Martin Ambrus b943f08018 fix: mysqli auto-closes connections in PHP
Closes #328
2017-11-09 19:57:30 +01:00
Martin Ambrus a822504706 fix: counting queries optimization
Closes #300
2017-11-04 15:41:35 +01:00
Martin Ambrus cda7548cb1 fix: undefined indexes 2017-11-02 12:53:10 +01:00
Martin Ambrus 30d3b9c4fa refactor: OOP code movements started :) 2017-10-25 13:38:38 +02:00
Martin Ambrus 79705fbc10 fix: crazy SQL :) 2017-10-24 09:04:10 +02:00
Martin Ambrus e19a039d28 fix: more crazy SQL calculations 2017-10-22 22:29:39 +02:00
Martin Ambrus 7270a69a63 fix: all location headers need to have exit after them! 2017-10-22 13:00:54 +02:00
Martin Ambrus 9261a4a4b2 Merge branch 'master' of https://github.com/evader1337/TravianZ into evader1337-master
# Conflicts:
#	GameEngine/Database/db_MYSQL.php
#	Templates/Build/avaliable.tpl
#	Templates/Message/inbox.tpl
2017-08-28 14:18:24 +02:00
TPLinux b8d3950c69 Fix divesion by Zero bug 2017-07-01 18:32:44 +00:00
evader1337 2d26af7c46 Trying to fix this monstrosity #2 2016-09-13 18:54:25 +02:00
sempoi 39ae245e5e Update player_top10.tpl 2014-03-05 11:59:23 +08:00
Shadow 924d0a55ad Merge pull request #68 from armando1980/patch-26
fix alliance rank defender Armando
2014-01-23 22:03:00 -08:00
armando1980 988f3c8b7d fix alliance rank defender Armando 2014-01-23 23:25:45 -05:00
armando1980 ffefd6d798 fix alliance rank Attacker Armando 2014-01-23 23:24:27 -05:00
yi12345 411e43fa4c fix ranking 2013-08-08 00:56:57 +03:00
yi12345 d09b68a065 update 2013-08-07 02:00:42 +03:00
yi12345 34110170ca update 2013-08-04 23:26:40 +03:00
yi12345 1bb679f0f0 update 2013-07-06 18:09:14 +03:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00