[Web-cyradm] some questions for development
Muenz, Michael
M.Muenz at maxonline.de
Fri Jun 2 08:52:43 CEST 2006
Hi Jan!
> I'm preparing some fixes for web-cyradm.
Thanks for your help, great!
> 1. alias.php and adminuser.php created a wrong link for next,
> when count is a multiple of the shown
> rows. e.g. if you have 10 aliases (default shown is 10) you
> see all entries but get a clickable link
> to an empty page (for results starting at/after 10). Same is
> probably found in adminuser.php, have
> not checked, as i don't have that many admin users *g* See
> attached patches.
I'll have a look at it, good chances to get in CVS :)
> So before i go deeper in that: I assume there are some
> missing database fields for
> account_maxdisplay, and probably alias_maxdisplay (which i
> would like to add). Is that correct?
Adding this stuff is easy, but then we also need correct
updatescripts for 0.5.4! This needs many testing.
> 3. Edit Email Addresses (in browseaccounts.php Line 147) is
> not translated, it is not even in any .mo file in tha
> lang directory (or in the Template). So it is probably an
> older Version.
> which is the correct way to get a new template and keep the
> old translations?
> (i just want to add the new points).
> so i get the new template probably with
> xgettext -C *.php -o webcyradm.po --keyword=_
>
> how can i add the missing parts?
>
> I assume
> msgfmt webcyradm.po --output-file=web-cyradm.mo
> should output a new version..
Umm .. that is Luc's job, dunno :)
> Another Language Question:
> How does Web-cyradm determine which locale to chosse? When i
> select spanish i still only get the
> english translation. I even configured my browser to prefer
> [es] pages and the <Option> at the login
> display spanish as default, but the text is english.
Check your /etc/locale.gen against the language you choose.
If you can't find it, insert it and execute locale-gen (or so?)
Michael
More information about the Web-cyradm
mailing list