Sections in FAQ class

Chris Howells chris at chrishowells.co.uk
Fri Mar 21 18:53:32 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Friday 21 March 2003 16:27, Matthias Messmer wrote:

> in the faq class a method called addSection ist implemented which is very
> useful but i think an own Section class is needed to make this work. What
> do you think of this proposal?

Good point. Comitted thanks.

Just one thing:

+ print "<h3>".$this->tr->i18n_var( $this->section )."</h3>\n";

Here we're just printing out the section name given to us, which will already 
be in the local language. Therefore using i18n_var is wrong. (additionally 
there's nothing for xgettext to pick up).

- -- 
Cheers, Chris Howells -- chris at chrishowells.co.uk, howells at kde.org
Web: http://chrishowells.co.uk, PGP ID: 33795A2C
KDE: http://www.koffice.org, http://printing.kde.org, http://usability.kde.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+e1++F8Iu1zN5WiwRAr/gAJ0coEV/e334RDCtf2lxPsJiJ0djYACgllo8
5XcMAkKL+Ezgq/VwdoIhSZo=
=Zgbc
-----END PGP SIGNATURE-----




More information about the kde-www mailing list