language in User options not working (as Default work ok!)

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
krzys31337
Posts: 65
Joined: Wed Jul 06, 2005 7:43 pm
Location: Poland,Warsaw N 52°09'10" E 20°55'09"

language in User options not working (as Default work ok!)

Post by krzys31337 »

Hello, another minor bug:

setting pl_pl locale (in UI and by mysql console):

Code: Select all

mysql> update Users set Language = 'pl_pl';
Then logout and login.

Still i've got:
"Id Name Function Source Events Hour Day Week Month Archive Zones Mark"

But doing:

Code: Select all

mysql> update Config set Value='pl_pl' where Name='ZM_LANG_DEFAULT'; 
Works like a charm :) without even re-login:
Zalogowany jako admin, ustawiona niska przepustowość
Cycle / Montaż Opcje
Nr Nazwa Funkcja Źródło Zdarzenia Godzina Dzień Tydzień Miesiąc Archiwum Strefy Znacznik
--
Best Regards and sorry for my poor english...
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

That last bit you did ( ZM_LANG_DEFAULT)changes the default language for the whole site and takes affect on the next refresh.
The first part setting up individual users does not show up till you close all the browser windows so that the cache is cleared (the session cookie), or you logout then back in.
No bug, just how it works. :wink:
Cheers,
Cordel
User avatar
krzys31337
Posts: 65
Joined: Wed Jul 06, 2005 7:43 pm
Location: Poland,Warsaw N 52°09'10" E 20°55'09"

Post by krzys31337 »

OK :-D
And btw: You've got another PL_pl translator in me... :twisted:
--
Best Regards and sorry for my poor english...
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

No Problems here, say it how you can. BTW your doing great. Can you speak english? I could always call and answer any questions :wink: Or Skype me Cordel54
Regards,
Cordel
User avatar
krzys31337
Posts: 65
Joined: Wed Jul 06, 2005 7:43 pm
Location: Poland,Warsaw N 52°09'10" E 20°55'09"

Post by krzys31337 »

Thanks :>

I'm going to use some 3x24 LCD diplay for saying "system OK"
"harddrive fillup rate is 5023 KB/s, ETA 19 D[ays] 34 h[our]".
Maybe even with 3+8 (2+3+8) keys (sorry only on at a time) to switch from cycle 1,2,3,4 to montage 1,2,3,4 or montage that looks like that:

1 1 2
1 1 3
4 5 6

(and "1s" could be 1 to 6 )

I've done two RED-GREEN diode setup, by the end of this week will have LCD from old cell phone (fully mono-graphical) there I could even put some mini Black-White icon, and cycle through cameras -- for headless monitroring and checking if cameras are connected OK.

Hope that i'm doing more good than mess-ups :twisted:
--
Best Regards and sorry for my poor english...
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

sounds awesome mate

James
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I've added the language issue to Bugzilla and will try to track it down. Thanks for bringing it to my attention and feel free to update the Polish language file, most of the language files are in need of a bit of attention.

Phil
Locked