Bug 5506 Shorten .po file comment lines
authorFrédéric Demians <f.demians@tamil.fr>
Tue, 21 Dec 2010 20:42:41 +0000 (21:42 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 21 Dec 2010 20:54:41 +0000 (09:54 +1300)
commitf460afbad6566e68bdbaddb5577f13f77a86a877
tree5eddb0440992a45dd4ee27d2af673391ea91fc2a
parent2814b535e6672e972d954e823f611378393f624b
Bug 5506 Shorten .po file comment lines

In opac/staff templates .po files, we have comment lines contextualizing
extracted text in templates. Path to template are absolute. For example, we can
have:

  #: /home/katrin/kohaclone/koha-tmpl/intranet-tmpl/prog/en/...
     modules/cataloguing/addbiblio.tmpl:585

The first part of the pathname is useless. With this patch, we just keep
relative path to tempalte from Koha template main directory. The above example
becomes:

  #: intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl:585

To be applied on [3.2]

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
misc/translator/xgettext.pl