VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: finbarr69 on July 08, 2012, 22:53:24 PM

Title: COM_VIRTUEMART_FORM_MEDIA_SET_CATEGORIES shows when adding a category
Post by: finbarr69 on July 08, 2012, 22:53:24 PM
Since upgrading from 2.0.8a to 2.0.8c today, I've noticed when I go to add a product category, I see COM_VIRTUEMART_FORM_MEDIA_SET_CATEGORIES instead of the word category in the Storing location/type input box.

Also I noticed earlier the same sort of untranslated text in the page to add a Manufacturer (see http://forum.virtuemart.net/index.php?topic=101979.msg349408#msg349408 (http://forum.virtuemart.net/index.php?topic=101979.msg349408#msg349408) )

Has someone decided to change plurals to singulars and not realised the consequences?

COM_VIRTUEMART_FORM_MEDIA_SET_CATEGORIES is not defined anywhere, but COM_VIRTUEMART_FORM_MEDIA_SET_CATEGORY is.

Somewhere in administrator/components/com_virtuemart/helpers/mediahandler.php it uses $this->file_type which contains a value that mismatches with the config. (manufacturers instead of manufacturer, categories instead of category)

Warmest Regards,

Brian