Forums / General Questions / question regarding line 510 of the admin/english.php

question regarding line 510 of the admin/english.php

Views: 539

Results 1 to 6 of 6
10 Jan 2015, 10:56 AM
#1
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

question regarding line 510 of the admin/english.php

I am translating ZC. On line 510 of the admin/english.php:

define('SHOW_GV_QUEUE',true);

Shouldn't this be:

define('SHOW_GV_QUEUE',[B]'[/B]true[B]'[/B]);

?

10 Jan 2015, 2:09 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: question regarding line 510 of the admin/english.php

That should be: true ...

It is not translatable text. It's only a setting.

In the code it is used as:
/admin/includes/header.php

if (SHOW_GV_QUEUE==true) { 

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jan 2015, 3:24 PM
#3
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

Re: question regarding line 510 of the admin/english.php

Ok for define('SHOW_GV_QUEUE',true);

Thank you Ajeh!

24 Jan 2015, 2:55 AM
#4
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

Re: question regarding line 510 of the admin/english.php

Translation complete and testing/debugging almost done too.

I encounter 2 issues with the new language:

  1. The "Search Help [?]" pop up in the Advance Search does not work.
  2. The image on the product page info does not show.

I'd think this is template-related no language-related, so I don't know why these 2 features don't work with the new language only.

Someone showing me the right direction would greatly help ... meanwhile I am continuing testing/debugging ...

24 Jan 2015, 3:12 AM
#5
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

Re: question regarding line 510 of the admin/english.php

Thannaree:

  1. The "Search Help [?]" pop up in the Advance Search does not work.

Pop up issue was a couple of double quotes in advanced_search.php language file : Link to thread that helped.

24 Jan 2015, 4:04 AM
#6
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

Re: question regarding line 510 of the admin/english.php

Thannaree:

  1. The image on the product page info does not show.

The issue was with the link 'larger image' below the image.

define('TEXT_CLICK_TO_ENLARGE', 'larger image');

I used ' to escape a single quote, which created the bug. Using ' instead fixed it !