Page 1 of 1

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

Posted: Fri Jul 15, 2005 6:22 pm
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

Posted: Fri Jul 15, 2005 7:20 pm
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

Posted: Fri Jul 15, 2005 7:37 pm
by krzys31337
OK :-D
And btw: You've got another PL_pl translator in me... :twisted:

Posted: Fri Jul 15, 2005 7:53 pm
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

Posted: Sat Jul 16, 2005 3:10 pm
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:

Posted: Sat Jul 16, 2005 3:14 pm
by jameswilson
sounds awesome mate

James

Posted: Mon Jul 18, 2005 10:10 pm
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