Sections in FAQ class

Matthias Messmer bmlmessmer at web.de
Fri Mar 21 18:57:05 UTC 2003


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

On Friday 21 March 2003 19:53, Chris Howells wrote:
> 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).

Ok, i just tried to copy some stuff from another method of this class ;-)

Matthias

- -- 
Matthias Messmer
Germany
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+e2CDJx0xyEgnQlARAibwAKCcHBSFYCieiZzCljyGQECLiXk7GQCfRP94
f4Bf1axjiq0Dui2CbJI6JG8=
=iKr8
-----END PGP SIGNATURE-----




More information about the kde-www mailing list