Deadrik/TFCraft — pull request #577 by ProgrammerHero (2014-08-10 14:35:07+00:00)
Title: [0.79] Improve localization support.

There were a couple of broken localization strings for beds (tile.bed.nosleep.name, and tile.bed.notsafe.name). I fixed them (removed the .name) and decided to fully implement localization support for *all* ChatMessages. Most of these messages end up being exactly the same only passed through localization, there are only a couple of cases where the localization had to change.

Most notably the ProPick was *always* formatted as
`translate(Found message)+translate(orename)` which is not translatable.
I changed the localization strings to use macros that are converted to the orename at runtime:
`translate(Found message with macro).replace(macro, orename)`
so the specific .lang file can place the macro ($ORE for the propick) wherever in the message is required.

A couple of the debug messages that previously did not support localization also used this (StripChunkCommand, RemoveChunkCommand, CommandTime).