fix: added category name to cache key, because messages are set to cache by category.
fix problem: when we use many categories in pofile and use cache, framework sets messages to cache from one category and the next time (from other category) gets messages from cache form wrong category.
add to cache key category
What about language?
a file name is used to build cache key and for another language another file will be used
$messageFile=$this->basePath . DIRECTORY_SEPARATOR . $language . DIRECTORY_SEPARATOR . $this->catalog;
added changelog line for #1997
Merged. Thanks for fixing it.
Thanks you ;)