[Kbabel] Find/Replace in Catalog Manager

Marco Wegner dubbleu@web.de
Tue, 7 Jan 2003 18:58:03 +0100


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 07 January 2003 18:18, Stanislav Visnovsky wrote:
> On Mon, 6 Jan 2003, Marco Wegner wrote:
> > > Since the cons are serious for users, I'd like to hear your opinions.
> > > Otherwise I would like to go for the change and maybe try to optimize
> > > the standard load method.
> >
> > I'm not sure I understand you correctly but IMHO every file type would
> > need its own search/replace methods in Catalog Manager (perhaps as
> > plugins). For instance searching and replacing does not work for PO
> > files in the header or the comments. Similar things would apply when
> > replacing in DocBook: it is necessary to leave the tags untouched
> > because this could break the integrity of the file.
>
> It is not true if we use the method of Catalog (used by KBabel). ATM the
> reading in Catalog Manager is reimplemented just to speed it up.
>
> Generally, if the search text is found in a file, the file is sent to
> KBabel to open it and to do find/replace in that file.

Seems like I still have to learn a great lot about the KBabel code. Perhaps=
 I=20
should have looked at it more closely before complaining ;-)

Marco

=2D --=20
Marco Wegner <mail@marcowegner.de>, <dubbleu@web.de>
Contributing to KBabel http://i18n.kde.org/tools/kbabel=20
   and German KDE translation http://i18n.kde.org/teams/de
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+GxUzX3rotM03gSgRAozSAJ4gnm/hEissE0u9N5LyhW+LrXx4yQCfW/8u
AxCW4tSREGkrnoKSBR4W0IU=3D
=3DaOXA
=2D----END PGP SIGNATURE-----