Pootle requires a way to determine precomputed property values PER UNIT
(as opposed to StatsCache.filestats which supplies only sets of unit
indices which correspond to given properties). This is necessary for
example, if one wants to compute the source word count of a unit.
For this reason, StatsCache.unitstats was added to supply arrays which
map unit indices to property values. This may therefore return dictionaries
such as
{ 'sourcewordcount': [4, 1, 10, 20],
'targetwordcount': [0, 0, 0, 0] }
indicating that the source word count of unit 0 is 4, unit 1 is 1, etc.
and that the target word counts for all units are 0.
git-svn-id: http://translate.svn.sourceforge.net/svnroot/translate/src/trunk/translate@7467 54714841-351b-0410-a198-e36a94b762f5