US English Bug?

Support and queries relating to all previous versions of ZoneMinder
Locked
Hairball
Posts: 1
Joined: Tue May 04, 2004 8:26 pm

US English Bug?

Post by Hairball »

I've been having a lot of fun playing around with zoneminder these past couple days. Great product! I ran into a problem with the u.s. english translation. PHP was giving me an error about not finding the function "zmVlang()". I did some hunting, and I think the following patch should correct the problem. The u.s. english file was including itself when it looks like it should have been included in the en_gb language file. Thanks!

*** ../../zm-1.19.2/web/zm_lang_en_us.php Sun Feb 15 14:10:59 2004
--- ./zm_lang_en_us.php Thu May 6 09:33:23 2004
***************
*** 44,50 ****
// maintenance point of view to include the original language file and override the old definitions rather
// than copy all the language tokens across. To do this change the line below to whatever your base language
// is and uncomment it.
! require_once( 'zm_lang_en_us.php' );

// You may need to change the character set here, if your web server does not already
// do this by default, uncomment this if required.
--- 44,50 ----
// maintenance point of view to include the original language file and override the old definitions rather
// than copy all the language tokens across. To do this change the line below to whatever your base language
// is and uncomment it.
! require_once( 'zm_lang_en_gb.php' );

// You may need to change the character set here, if your web server does not already
// do this by default, uncomment this if required.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Whoops, I just realised I hadn't replied to this. Thanks for pointing it out.

Phil,
Locked