GoldenCheetah/GoldenCheetah — pull request #366 by amtriathlon (2012-12-04 17:06:59+00:00)
Title: Enable metrics translations

The code setting metric names and units was moved from constructors to
initialize methods, to be called after translator initialization.
English Name is preserved as InternalName for metadata.xlm compatibility
in metric override.
Q_DECLARE_TR_FUNCTIONS(class-name) macro is used to set tr() context
when class-name is not QObject sub-class.