News:

Looking for documentation? Take a look on our wiki

Main Menu

typos in en-GB.com_virtuemart.ini

Started by CE WebDesign München, November 22, 2015, 10:41:40 AM

Previous topic - Next topic

CE WebDesign München

hi, Joomla Debug found 2 typos (, should be _) in en-GB.com_virtuemart.ini (vm3.0.12), best regards, chris


JROOT\components\com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini : error(s) in line(s) 277, 417

line 277 (typo/fix)
COM_VIRTUEMART_ORDERING,PRODUCT_NAME="Sorted product name"
COM_VIRTUEMART_ORDERING_PRODUCT_NAME="Sorted product name"

line 417 (typo/fix)
COM_VIRTUEMART_SEARCH_ORDER_ORDERING,PRODUCT_NAME="Sorted Product Name"
COM_VIRTUEMART_SEARCH_ORDER_ORDERING_PRODUCT_NAME="Sorted Product Name"
CE WebDesign München: https://ce-webdesign.de | Websites, eCommerce WebShops | Responsive Design | SEO

jjk

Those 'typos' are intentional. (I'm not a developer, so I can't tell you why those lines have to include the komma. But there is a reason) I know Joomla language debug reports them as an error, but nevertheless they do work.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

CE WebDesign München

ok,
good time to ask a developer, I'll post it in development,
maybe it's an old solution or even obsolet,
maybe a developer can solve it differently now or drop it for vm3?
CE WebDesign München: https://ce-webdesign.de | Websites, eCommerce WebShops | Responsive Design | SEO

jjk

Quote from: gogo123 on November 25, 2015, 08:25:53 AM
maybe it's an old solution or even obsolet,
It is a new solution (added a few months ago). I complained about it too, but development said it's necessary.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

CE WebDesign München

ok, thank you for the info and time,

can you put these lines at the end of the file and leave a comment, please?

Kind regards, Chris


just for info for other users:

Note: If your INI format is invalid, the results are not well defined.
Most versions of PHP will load your language file up to the point where an error occurs,
but throw no error message whatsoever.

; A comment in language files

https://docs.joomla.org/Specification_of_language_files
CE WebDesign München: https://ce-webdesign.de | Websites, eCommerce WebShops | Responsive Design | SEO

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

HenrikS

This error seems to be back in 3.2.6 both on the frontend and in config sortorder

COM_VIRTUEMART_ORDERING,PRODUCT_NAME

Sort-by fields   
COM_VIRTUEMART_ORDERING,PRODUCT_NAMEProduct NameCreation DateProduct Item no.MPNProduct Short descriptionProduct DescriptionSef AliasCategory NameCategory DescriptionManufacturer NameProduct PriceFeatured ProductProduct SalesProduct AvailabilityProduct Available DateProduct HeightProduct WidthProduct LengthLength/Weight/Height Unit of MeasureProduct WeightProduct Weight UnitProduct in stockLow Stock NotificationProduct Modified DateGTIN (EAN,ISBN)Product UnitProduct PackagingProduct idOrdering