Improves performance for the ResourceGatherer component

The tracelogger has shown one of the functions as 4.9% and one as 2.2% before the patch. After the patch, both functions were below 0.5%. 100% is the time for all JS code being executed during a non-visual replay, including GC, overhead for the tracelogger and JIT code compiling.


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16036 3db68df2-c116-0410-a063-a993310a9797
Explictly use GMT when displaying a localized time that is not a date. Patch by lafferjm. Fixes  #2938.

Also make some parameters const references.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16037 3db68df2-c116-0410-a063-a993310a9797
Properly localize tribute messages.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16038 3db68df2-c116-0410-a063-a993310a9797
ResourceGatherer cleanup.

s/var/let/, check if cmpPlayer != null before using it, some whitespace.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16039 3db68df2-c116-0410-a063-a993310a9797
Automated build.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16040 3db68df2-c116-0410-a063-a993310a9797
fix typo in r16039

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16041 3db68df2-c116-0410-a063-a993310a9797
Improve AI performances thanks to traceLogger diagnostics. The gain is about 10% of AI time. The patch includes also some code cleanings.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16042 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'
Remove duplicated layers of unescaping which required multiple escapes in some places.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16043 3db68df2-c116-0410-a063-a993310a9797
Pull translations.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16044 3db68df2-c116-0410-a063-a993310a9797
Update translation templates.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16045 3db68df2-c116-0410-a063-a993310a9797
Automated build.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16046 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'