TWLan Forum
v1.4; 'alang' bugs (with patch) [reports, place] - Printable Version

+- TWLan Forum (https://twlan.org)
+-- Forum: Legacy (https://twlan.org/forumdisplay.php?fid=61)
+--- Forum: TWLan 1.x (DSLan) (https://twlan.org/forumdisplay.php?fid=62)
+---- Forum: Deutsche Community (https://twlan.org/forumdisplay.php?fid=65)
+----- Forum: Bugs & Feature Requests (https://twlan.org/forumdisplay.php?fid=68)
+----- Thread: v1.4; 'alang' bugs (with patch) [reports, place] (/showthread.php?tid=3294)



v1.4; 'alang' bugs (with patch) [reports, place] - Lekensteyn - 09.08.2010

With the latest version (15:01), there is still a bug in reports.
Open any group at reports except for "Alle Berichte".
You'll get an "alang" error.

Fix: edit htdocs/templates/game_report_overview.tpl and replace get("***") by grab("report_all", "***").

Language issues ('alang')
Platz -> Truppen
Calling back "Truppen in anderen Dörfern" -> einige:
aLang Error: place_units_try_back_units[support_call_back] not found!
Fix: add the following to de.ini (line 442):
Code:
[place_units_try_back_units]
support_call_back="Zurückrufen"



RE: v1.4; 'alang' bugs (with patch) [reports, place] - agrafix - 09.08.2010

Second bug fixed, can't reproduce the first bug!


RE: v1.4; 'alang' bugs (with patch) [reports, place] - Lekensteyn - 10.08.2010

I can still reproduce it with this link:
http://localhost/game.php?village=1&screen=report&mode=attack

game_report.tpl should be edited too:
Code:
<h2>{$lang->get( "reports")}</h2>
becomes
Code:
<h2>{$lang->grab("report_all", "reports")}</h2>

Reminder: game_report_overview.tpl should be edited too, see first post.

Edit: and game_report_view.tpl...


RE: v1.4; 'alang' bugs (with patch) [reports, place] - agrafix - 10.08.2010

There's no need of proposing fixes Wink I'll take a look at it


RE: v1.4; 'alang' bugs (with patch) [reports, place] - Lekensteyn - 10.08.2010

Well, I'm patching them with that, sharing doesn't hurt Wink


RE: v1.4; 'alang' bugs (with patch) [reports, place] - Lekensteyn - 23.09.2010

Another bug (with fix):
When not specifying a receiver in a mail, you'll get an aLang error.
Fix: replace "max_receiver" in section "error" by "receiver_max" (lang/*.ini).