Parsing error help
Matthew East
mdke at ubuntu.com
Wed Dec 27 22:14:32 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* Rich Johnson:
> On Wednesday 27 December 2006 14:21, Will Simpson wrote:
> | I'm editing the photo part of the musicvideophotos.xml and I have a
> | question. Looking at the examples already in the file, I see that
> | "&gimp;" automatically expands to "Applications -> Graphics -> Gimp".
> | Why wouldn't "&f-spot;" not expand to "Applications -> Graphics ->
> | F-Spot"? Here is the error I get.
> |
> |
> | 322: parser error : Entity 'f-spot' not defined
> | </application> is included in Ubuntu by default. To start it, choose
> | &f-spot;
> |
> | There is a carrot pointing at the ";" - Maybe the question is how to
> | 'define' f-spot' ?
>
> f-spot is not defined in trunk/libs/global.ent. I didn't even know gimp was
> defined either. For the time being, do:
We define menu entities for Gnome in trunk/ubuntu/libs/gnome-menus.ent
which in turn points at the entries in trunk/ubuntu/menus/C
We need to make a new entry for f-spot, as it entered the desktop quite
recently, we haven't done that yet.
> I think we are trying to lean against not using so many entities as it makes
> translation much easier. This way the translators only have to deal with the
> xml files and not the entity files as well.
No, that's no problem - we are going to revert to our previous practice
which means that entities get expanded out before the translation
process - you should use an entity where it is going to save effort with
typing the phrase or where something could easily change (for example, a
menu entry or a url).
Matt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFkvBHtSaF0w5rBv8RAqYPAJ4yc5TG/yDgKj3ipN0R/WS2R+YAfgCaAvt1
F7WGLq9ePm6OCtOWkAGuGF0=
=orNk
-----END PGP SIGNATURE-----
More information about the ubuntu-doc
mailing list