Author Topic: typos in en-GB.com_virtuemart.ini  (Read 1333 times)

CE WebDesign München

  • Jr. Member
  • **
  • Posts: 112
  • CE WebDesign München
    • CE WebDesign München
typos in en-GB.com_virtuemart.ini
« on: November 22, 2015, 10:41:40 am »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3187
  • using Piwik instead of Google Analytics
Re: typos in en-GB.com_virtuemart.ini
« Reply #1 on: November 25, 2015, 00:21:09 am »
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

  • Jr. Member
  • **
  • Posts: 112
  • CE WebDesign München
    • CE WebDesign München
Re: typos in en-GB.com_virtuemart.ini
« Reply #2 on: November 25, 2015, 08:25:53 am »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3187
  • using Piwik instead of Google Analytics
Re: typos in en-GB.com_virtuemart.ini
« Reply #3 on: November 25, 2015, 11:08:26 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

  • Jr. Member
  • **
  • Posts: 112
  • CE WebDesign München
    • CE WebDesign München
Re: typos in en-GB.com_virtuemart.ini
« Reply #4 on: November 25, 2015, 11:49:51 am »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9412
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: typos in en-GB.com_virtuemart.ini
« Reply #5 on: August 23, 2016, 11:39:08 am »
changed since almost a year already
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

HenrikS

  • Beginner
  • *
  • Posts: 19
Re: typos in en-GB.com_virtuemart.ini
« Reply #6 on: November 27, 2017, 21:22:43 pm »
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