VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: finbarr69 on July 09, 2012, 13:59:51 PM

Title: COM_VIRTUEMART_YES displayed in modules admin page
Post by: finbarr69 on July 09, 2012, 13:59:51 PM
Hi,

VM2 2.0.8c

Another two strings that are not picking up their translations:

In /modules/mod_virtuemart_product/mod_virtuemart_product.xml at lines 122 and 123 are the following lines:

122                     <option value="1">COM_VIRTUEMART_YES</option>
   
123                     <option value="0">COM_VIRTUEMART_NO</option>

In that module there are no other strings beginning COM_VIRTUEMART  -- all the rest begin MOD_VIRTUEMART

I suspect that because it is in a module, Joomla is not picking up the COM_VIRTUEMART lines.  Perhaps these strings ought to be referenced as MOD_VIRTUEMART_YES and MOD_VIRTUEMART_NO and those strings added to the correct language file?

I note that also in /modules/mod_virtuemart_product/mod_virtuemart_product.xml there are untranslated (hard-coded) "yes" and "no" options.  These should also be replace with MOD_VIRTUEMART_YES and MOD_VIRTUEMART_NO I think.

HTH

Brian
Title: Re: COM_VIRTUEMART_YES displayed in modules admin page
Post by: Milbo on July 10, 2012, 00:39:29 AM
thx, fixed with JNO and JYES