Bug 8633 Manage OPAC alternate templates
authorFrédéric Demians <f.demians@tamil.fr>
Wed, 19 Sep 2012 13:28:40 +0000 (15:28 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 11 Oct 2012 09:15:07 +0000 (11:15 +0200)
commit6a4cbbba6095791926d925cb14bd286dea16c835
tree38909ec2a377cc44fbc2f08f68006ee5b3258c9c
parent0c75d667d5a299e72601965459e5ab3c1c67974c
Bug 8633 Manage OPAC alternate templates

Modify /misc/translator/translate script in order to manage properly alternate
OPAC templates.

To test it with new 'ccsr' template:

- Create the .po file:

  ./translate create fr-FR

  Result: existing .po files are not modified. A new fr-FR-opac-ccsr.po file is
  available.

- Install all templates :

  ./translate install fr-FR

  Result: A new koha-tmpl/opac-tmpl/ccsr/fr-FR directory contains translated
  templates.

- Update .po files:

  ./translate update fr-FR

  Result: fr-FR .po files are update, include fr-FR-opac-ccsr.po

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
misc/translator/LangInstaller.pm